nexus
nexus copied to clipboard
Add support for json out from schema
Currently schema only generates .gql
file only, if there was a way to generate .json
schema it would be aplus
makeSchema takes an optional customPrintSchemaFn
which you could probably use to print json instead with your library of choice.
@santialbo I ended up using codegen
not sure how that works
That's another option, I also use graphql codegen on my project
codegen seems to be a good option for this but I would love to have it built into nexus