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
* Make nullable parameters always optional
Treat nullable parameters that have no default value as if their default
was set to null.
Nullable parameters that have a default value explicitly set will
continue to use that as their default.
* Apply review feedback
- add KParameter.isNotOptionalNullable()
- minor cleanups in mapToKotlinObject
Copy file name to clipboardExpand all lines: generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/convertArgumentValue.kt
Copy file name to clipboardExpand all lines: generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/internal/extensions/kParameterExtensions.kt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ internal fun KParameter.isGraphQLContext() = this.type.getKClass().isSubclassOf(
Copy file name to clipboardExpand all lines: generator/graphql-kotlin-schema-generator/src/test/kotlin/com/expediagroup/graphql/generator/execution/ConvertArgumentValueTest.kt
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,22 @@ class ConvertArgumentValueTest {
0 commit comments