Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

createSchema should warn about unknown/inactive attributes and types #6

Open
oferei opened this Issue · 0 comments

1 participant

@oferei
Owner

A few examples:

  • attribute with unknown name (ignored completely)
  • type with unknown name (treated as 'any')
  • properties attribute when type is not 'object'
  • additionalItems attribute when items attribute is not an array (tuple typing)

Although this is all "by the book" it may lead to bugs, such as uncaught errors in runtime.
Not sure about the API, but perhaps there should be some (opt-in) 'strict' option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.