I was looking into Spring GraphQL and I found out about the new annotation model for GraphQLControllers. I was wondering how the intended workflow for this new feature would look like regarding the creation of schema.grapqls files.
Do I have to manually create a schema.grapqls file and write the corresponding Controller(s) for its queries? Or is there some way to automatically create a schema.graphql file from the information provided by my Controllers? It would seem to me that all the necessary information to create the schema is defined by my Controllers.
Having to manually define the schema in addition to the controllers comes with some headaches, mainly regarding typos and changing/refactoring of models, since there is no compile-time connection between my controller and my schema.grapqls file.
Also, this blogpost says to post general questions about Spring GraphQL using the spring-graphql tag. However, that tag does not exists yet / I could not find it.