From 6541b551131b031618a9c70d75f4c6568341b022 Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Mon, 20 Jan 2025 09:33:09 +0100 Subject: [PATCH] Terminology: Kotlin has parameters, not arguments --- .../kotlin/com/apollographql/execution/processor/definitions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor/definitions.kt b/apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor/definitions.kt index 941e9e0..4e88758 100644 --- a/apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor/definitions.kt +++ b/apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor/definitions.kt @@ -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()