Skip to content

Reusing a reserved property name such as msg leads to an incorrect json output. #86

@zah

Description

@zah

Possible resolutions:

  1. Outlaw the use of reserved properties (i.e. produce a compile-time error when they are used)
  2. Choose new names for the reserved properties that are less likely to collide with user code (e.g. $msg, $lvl, etc)
  3. Nest all user properties in a dedicated sub-field of the record.

The most likely initial resolution will be option 1).

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