Skip to content

Commit 0f422b9

Browse files
authored
fix(federation): fix @authenticated directive name (#1927)
### 📝 Description Fix copy-paste error. ### 🔗 Related Issues
1 parent 1172da1 commit 0f422b9

File tree

1 file changed

+1
-1
lines changed
  • generator/graphql-kotlin-federation/src/main/kotlin/com/expediagroup/graphql/generator/federation/directives

1 file changed

+1
-1
lines changed

generator/graphql-kotlin-federation/src/main/kotlin/com/expediagroup/graphql/generator/federation/directives/AuthenticatedDirective.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ import graphql.introspection.Introspection
5050
)
5151
annotation class AuthenticatedDirective
5252

53-
internal const val AUTHENTICATED_DIRECTIVE_NAME = "requiresScopes"
53+
internal const val AUTHENTICATED_DIRECTIVE_NAME = "authenticated"
5454
private const val AUTHENTICATED_DIRECTIVE_DESCRIPTION = "Indicates to composition that the target element is accessible only to the authenticated supergraph users"

0 commit comments

Comments
 (0)