Having "type" as key name as validation property throws error
cstefanache opened this issue · 1 comments
cstefanache commented
Example:
... properties: { id: { type: 'string'}, type: {type: 'string' },
Trace:
`
undefined:47
if (value !== undefined && ) {
^
SyntaxError: Unexpected token )
`
christiansmith commented
Need more info on the context. This hasn't been a problem for us thus far and it is completely valid to have a property named "type".