Open rweintraub-cycleon opened 1 year ago
hey. Yes, thats somewhat useful if your service has a static schema and you need it only in for some CI tasks. For example it would be nice in github PR to display inline comments where schema is invalid. Perhaps https://the-guild.dev/graphql/inspector could be integrated?
In production however, you may find that it's the service that needs to register the schema and handle failure. The schema can be also generated in runtime out of some typescript code.
For the regular code, you can look into some examples (and add more - related https://github.com/tot-ra/graphql-schema-registry/issues/151 ) https://github.com/tot-ra/graphql-schema-registry/tree/master/examples/schema_registration_client
Hi,
this project looks quite promising but while i was trying to set up the registry locally & thinking about how to approach a CI/CD scenario it felt there was a small CLI utility missing.
Ideally i think such a small CLI could help with these topics:
i hope the request makes sense. I could also support in building such a CLI utility