Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ class CodeGenConfig(
var shortProjectionNames: Boolean = false,
var generateDataTypes: Boolean = true,
var omitNullInputFields: Boolean = false,
var maxProjectionDepth: Int = 10,
var kotlinAllFieldsOptional: Boolean = false,
/** If enabled, the names of the classes available via the DgsConstant class will be snake cased.*/
var snakeCaseConstantNames: Boolean = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
),
).generate()

Expand Down Expand Up @@ -75,7 +74,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
),
).generate()

Expand Down Expand Up @@ -107,7 +105,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
),
).generate()

Expand Down Expand Up @@ -137,7 +134,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
),
).generate()

Expand Down Expand Up @@ -176,7 +172,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
addDeprecatedAnnotation = true,
),
).generate()
Expand Down Expand Up @@ -222,7 +217,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
addDeprecatedAnnotation = true,
),
).generate()
Expand Down Expand Up @@ -274,7 +268,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
addDeprecatedAnnotation = true,
),
).generate()
Expand Down Expand Up @@ -328,7 +321,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
addDeprecatedAnnotation = true,
),
).generate()
Expand Down Expand Up @@ -384,7 +376,6 @@ class ClientApiGenBuilderTest {
schemas = setOf(schema),
packageName = BASE_PACKAGE_NAME,
generateClientApiv2 = true,
maxProjectionDepth = 2,
),
).generate()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ open class GenerateJavaTask
@Input
var omitNullInputFields = false

@Input
var maxProjectionDepth = 10

@Input
var kotlinAllFieldsOptional = false

Expand Down Expand Up @@ -216,7 +213,6 @@ open class GenerateJavaTask
shortProjectionNames = shortProjectionNames,
generateDataTypes = generateDataTypes,
omitNullInputFields = omitNullInputFields,
maxProjectionDepth = maxProjectionDepth,
kotlinAllFieldsOptional = kotlinAllFieldsOptional,
snakeCaseConstantNames = snakeCaseConstantNames,
implementSerializable = implementSerializable,
Expand Down
Loading