Skip to content

Commit 8ff72bb

Browse files
authored
Update dictionary.md
1 parent 8ac2a81 commit 8ff72bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

graph/patterns/dictionary.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The following example demonstrates defining a dictionary that can contain string
4545
<ComplexType Name="Dictionary" OpenType="true">
4646
<Annotation Term="Core.Description" String="A dictionary of name-value pairs. Names must be valid property names, values may be restricted to a list of types via an annotation with term `Validation.OpenPropertyTypeConstraint`." />
4747
</ComplexType>
48-
<ComplexType Name="stringDictionary" BaseType="WorkloadNamespace.Dictionary">
48+
<ComplexType Name="stringDictionary" BaseType="WorkloadNamespace.Dictionary"> //// TODO does this need to be marked as an open type?
4949
<Annotation Term="Org.OData.Validation.V1.OpenPropertyTypeConstraint">
5050
<Collection>
5151
<String>Edm.String</String>
@@ -55,6 +55,9 @@ The following example demonstrates defining a dictionary that can contain string
5555
</Schema>
5656
```
5757

58+
Please note that schema validation will fail due to the casing of `Dictionary`.
59+
This warning should be suppressed.
60+
5861
### Defining a dictionary property
5962
The following example shows defining a dictionary property, "userTags", on the item entity type.
6063

0 commit comments

Comments
 (0)