mercurius-js / validation

Adds configurable validation support to Mercurius.
MIT License
29 stars 6 forks source link

Add support for custom type inference through the plugin options #89

Closed bilalshareef closed 6 months ago

bilalshareef commented 6 months ago

Fix #29

simoneb commented 6 months ago

Thanks for this PR. As you can see many tests are failing, so I believe we need to proceed in steps:

  1. figure out why adding support for new types breaks existing tests
  2. add support for what was requested originally, meaning the ability to customize the JSON schema inference via plugin options. This means that custom logic can be provided by users of the plugin

How does this sound?

jonnydgreen commented 6 months ago

Will aim to include as part of the next release if that works :)