Version 1.60.0
deweyjose
released this
10 Feb 15:26
·
34 commits
to main
since this release
Maintenance:
- upgrade to DGS codegen 6.1.3
Feature:
Support for issue: #130
typeMapping
can now be configured via properties file bundled in other dependencies. This is useful for cases where common types are shared across multiple projects and the typeMapping is the same.
This feature will scan all dependencies in the project for the files listed in typeMappingPropertiesFiles
and merge them with any typeMappings included directly in the plugin <configuration>
block.
example plugin config:
<configuration>
<typeMappingPropertiesFiles>
<typeMappingPropertiesFile>graphql/common-type-mappings.properties</typeMappingPropertiesFile>
</typeMappingPropertiesFiles>
</configuration>
example properties file:
Foo=io.github.deweyjose.Foo
For a fully working example check out the graphqlcodegen-example project.