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
If you have a type (as shown below) which has a property that begins with a numeric character (as a string or not!) encode and encodeDiff fail because they attempt to use dot notation obj.1 rather than square bracket notation obj['1'] for property access.
MyType:
'1': string
The text was updated successfully, but these errors were encountered:
arranf
changed the title
Document Type Properties Cannot Start With a Number
[Documentation] Type Properties Cannot Start With a Number
Mar 18, 2022
If you have a type (as shown below) which has a property that begins with a numeric character (as a string or not!) encode and
encodeDiff
fail because they attempt to use dot notationobj.1
rather than square bracket notationobj['1']
for property access.The text was updated successfully, but these errors were encountered: