Skip to content

Commit 6541b55

Browse files
committed
Terminology: Kotlin has parameters, not arguments
1 parent c3db89d commit 6541b55

File tree

1 file changed

+1
-1
lines changed
  • apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor

1 file changed

+1
-1
lines changed

apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor/definitions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ private class TypeDefinitionContext(
575575
val name = this.graphqlNameOrNull() ?: targetName
576576

577577
if (this.hasDefault) {
578-
logger.error("Default arguments are not supported, use '@GraphQLDefault' instead.", this)
578+
logger.error("Default parameter values are not supported, annotate your parameter with '@GraphQLDefault' instead.", this)
579579
return null
580580
}
581581
val defaultValue = defaultValue()

0 commit comments

Comments
 (0)