-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate code from schemas #19
Comments
Hi @ksajme You have a pre-existing schema defined as SDL/IDL file. I haven't looked at the schema materialisation feature in depth yet, but your suggestion sounds perfect for this plugin. |
Yes, that's exactly it. The use case is for GraphQL servers. Sangria provides macros to generate case classes if you are using its DSL but if you are using an SDL/IDL schema file as a source (materialization), you are out in the cold. I'd be curious to see if the code @jonas is working on could be modified to fit this purpose without much fuss. |
It would be very useful to be able to leverage code generation to make case classes for a Sangria server with an SDL/IDL schema (within a .graphql file, Sangria calls this schema materialization).
Is that a feasible feature addition based on the code generation code being added to this project?
The text was updated successfully, but these errors were encountered: