Releases: Netflix/dgs-codegen
Releases · Netflix/dgs-codegen
v4.6.0
Fixes
- In generated Java interface classes, only generate getters and not setters for all fields. Also, getters are generated only for fields that are not interfaces (to avoid conflicts with overridden fields that don't have the same base type) #110
- Bug fix to use the appropriate interface class for getters when using generateInterfaces config option in codegen #111
v4.5.2
v4.5.1
v4.5.0: Merge pull request #106 from Netflix/fix/recursive-input-types
Changes:
- Fix missing getters and setters for in generated interfaces when fields are non-nullable. #95
- Added
kotlinAllFieldsOptional
configuration option. This forces all fields to be optional in generated Kotlin types. #96 - Removed some verbose logging #103
- Support for Snake_Case Constant Name generation: #104
- Fix to prevent a stackoverflow exception when a cycle in input types: #106
v4.4.3
This releases fixes generation of root projections that return interface types in Kotlin client codegen.
v4.4.2
This release contains the following bug fixes in client codegen for constructing graphql queries:
- Handle interfaces in generated representations for
__entities
query. This issue caused compilation errors due to generated classes not importing the correct classes for interface types. - Fix name clashes in generated query projections. We concatenate field names to generate projection class names, and this can lead to clashes when the field names are similar when concatenated.
v4.4.1
Update dependencies. This should also avoid potential conflicts in versions caused by older gradle versions pulling in <1.4.x of kotlin-stdlib
v4.4.0
- Bug fix around determining the depth of the query to limit the number of client projections generated
- Feature: Generated kotlin data classes now have an empty companion object for adding extension functions.
Bug fix for handling null checks for primitive types when specifying input arguments for queries
Merge pull request #73 from Netflix/fix/query-input Don't add a null check for primitive java types when constructing the…
Bug fix for handling null checks for primitive types when specifying input arguments for queries
Merge pull request #73 from Netflix/fix/query-input Don't add a null check for primitive java types when constructing the…