Forum Discussion

jms137's avatar
jms137
New Contributor
6 years ago

Naming a property with a reserved keyword for name

Hi all,   I need to write a contract to act as a schema for the rest messages which a legacy system sends. Unfortunately this system uses 'type' as the name of a property. A relevant snipped of t...
  • RonRatovsky's avatar
    6 years ago

    What error do you get?

     

    The only issue I'm seeing here is there's a problem with the indentation, but that could be a pasting error. Once fixed, the editor is not giving me any errors.