Skip to content

Commit

Permalink
Terminology: Kotlin has parameters, not arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Jan 20, 2025
1 parent c3db89d commit 6541b55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ private class TypeDefinitionContext(
val name = this.graphqlNameOrNull() ?: targetName

if (this.hasDefault) {
logger.error("Default arguments are not supported, use '@GraphQLDefault' instead.", this)
logger.error("Default parameter values are not supported, annotate your parameter with '@GraphQLDefault' instead.", this)
return null
}
val defaultValue = defaultValue()
Expand Down

0 comments on commit 6541b55

Please sign in to comment.