@phillipkruger does mp graphql/smallrye support generating a schema file during project compilation/build? It would be useful to check it into source control to easily track (undesired) changes to the generated schema...
@marceloverdijk Hi @marceloverdijk , it should definitely be possible in SmallRye. We made changes to be able to generate most things during build, specifically for Quarkus. Take a look at the schema model and builder in SmallRye. Once you create that you can generate the graphql-schema
@phillipkruger Cool I want to experiment adding smallrye-graphql to a Quarkus app anyway so I will have a look... as you said for Quarkus integration you are already moving a lot to build phase, maybe (optionally) storing the generated schema could be added as feature?
@marceloverdijk Yes we can look into that, or maybe a maven plugin ? Then anyone can use it.
@phillipkruger Yes, or/and (just personal pref) a Gradle plugin
@marceloverdijk @marceloverdijk - Thanks to @janmartiska we now have a maven plugin: github.com/smallrye/small… !