Skip to content

Version 1.60.0

Compare
Choose a tag to compare
@deweyjose deweyjose released this 10 Feb 15:26
· 34 commits to main since this release
206b703

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.