teamwalnut / graphql-ppx

GraphQL language primitives for ReScript/ReasonML written in ReasonML
https://graphql-ppx.com
MIT License
257 stars 53 forks source link

More verbose Errors for partial unions than "Not_found" #286

Open AlexMoutonNoble opened 1 year ago

AlexMoutonNoble commented 1 year ago

Hi Just hit the runtime crash where the graphql ppx code will raiseError if you have partially requested a graphql Union with FutureAddedValues unset. Any thought about giving this exception a more descriptive text?

Thanks Alex