You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing an undeclared untyped property to an open entity fails
Assemblies affected
ODL V7
Reproduce steps
Define an open entity type
Attempt to write an undefined property:
new ODataProperty { Name = "UndeclaredProperty", Value = new ODataUntypedValue { RawValue = ""rawValue"" }) };
Expected result
The undeclared property should be written since the type is open
Actual result
Error Message "The property 'OpenCollectionNoType' does not exist on type 'microsoft.graph.S1E2'. Make sure to only use property names that are defined by the type or mark the type as open type."
Additional detail
This works for undefined typed properties in an open entity type, it's only an issue for untyped properties.
This worked in ODL V6 and is blocking folks from moving to ODL V7.
The text was updated successfully, but these errors were encountered:
Writing an undeclared untyped property to an open entity fails
Assemblies affected
ODL V7
Reproduce steps
new ODataProperty { Name = "UndeclaredProperty", Value = new ODataUntypedValue { RawValue = ""rawValue"" }) };
Expected result
The undeclared property should be written since the type is open
Actual result
Error Message "The property 'OpenCollectionNoType' does not exist on type 'microsoft.graph.S1E2'. Make sure to only use property names that are defined by the type or mark the type as open type."
Additional detail
This works for undefined typed properties in an open entity type, it's only an issue for untyped properties.
This worked in ODL V6 and is blocking folks from moving to ODL V7.
The text was updated successfully, but these errors were encountered: