aPureBase / KGraphQL

Pure Kotlin GraphQL implementation
https://kgraphql.io
MIT License
298 stars 58 forks source link

fix(dsl:input) - handle optional args #176

Closed netag closed 2 years ago

netag commented 2 years ago

fix a bug where optional-nullable input types caused Missing value for non-nullable argument <argument name> on the field <matching field> (root cause is related to validation function)

previous args() always returned a defined non-nullable type, making input.type.kind non-optional