-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Made possible to use custom templates #1048
Conversation
Hey @velo Thank you! |
src/main/java/com/kobylynskyi/graphql/codegen/generators/FreeMarkerTemplateFilesCreator.java
Outdated
Show resolved
Hide resolved
src/main/java/com/kobylynskyi/graphql/codegen/model/MappingConfig.java
Outdated
Show resolved
Hide resolved
src/main/java/com/kobylynskyi/graphql/codegen/model/MappingConfig.java
Outdated
Show resolved
Hide resolved
src/test/java/com/kobylynskyi/graphql/codegen/GraphQLCodegenAnnotationsTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/kobylynskyi/graphql/codegen/model/MappingConfig.java
Outdated
Show resolved
Hide resolved
…fig.java Co-authored-by: Bogdan Kobylynskyi <92bogdan@gmail.com>
Fixed scalafmt |
Found a small buh on this, hope I can patch for the release |
Description
Added the configuration for manually selecting templates. This would allow anyone that needs/wants to modify a output, to do it by themselves.
For instance, I'm would like to use java record with lombok annotations, by using a custom template I can do it.
Related to #146 and potentially many others
Changes were made to:
If the change seems reasonable, I will make the gradle plugin and SBT changes