Skip to content

Releases: Netflix/dgs-codegen

v4.6.0

22 Apr 16:41
bb6da39
Compare
Choose a tag to compare

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

20 Apr 03:27
b574505
Compare
Choose a tag to compare

Fixes:

  • Fixing Kotlin DgsConstants generator #108.

v4.5.1

20 Apr 02:54
99b7418
Compare
Choose a tag to compare

Changes:

  • Adding snakeCaseConstantNames as a Gradle Task Input #107

v4.5.0: Merge pull request #106 from Netflix/fix/recursive-input-types

20 Apr 00:17
0d9531b
Compare
Choose a tag to compare

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

01 Apr 19:09
d73af4a
Compare
Choose a tag to compare

This releases fixes generation of root projections that return interface types in Kotlin client codegen.

v4.4.2

26 Mar 16:57
c0ce6b9
Compare
Choose a tag to compare

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

20 Mar 00:19
91d5938
Compare
Choose a tag to compare

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

19 Mar 19:05
a731e5e
Compare
Choose a tag to compare
  1. Bug fix around determining the depth of the query to limit the number of client projections generated
  2. 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

16 Mar 03:41
d7319eb
Compare
Choose a tag to compare
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

16 Mar 00:34
d7319eb
Compare
Choose a tag to compare
Merge pull request #73 from Netflix/fix/query-input

Don't add a null check for primitive java types when constructing the…