You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/generators/java/DataTypeGenerator.kt
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -460,15 +460,24 @@ abstract class BaseDataTypeGenerator(
460
460
}
461
461
462
462
if (config.generateJSpecifyAnnotations) {
463
-
// Since JSpecify annotations are enabled, add a private no-arg constructor
464
-
// only for the Builder to access
465
-
addDefaultConstructor(javaType, false)
463
+
val requiredFields = fields.filter { !it.nullable }
0 commit comments