Skip to content

[Documentation] Type Properties Cannot Start With a Number #197

@arranf

Description

@arranf

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions