diff --git a/build.gradle.kts b/build.gradle.kts index ccb1108..82266d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,13 +6,13 @@ repositories { plugins { kotlin("jvm") version "2.0.20" - id("com.expediagroup.graphql") version "7.1.5" + id("com.expediagroup.graphql") version "8.0.0" } dependencies { - implementation("com.expediagroup", "graphql-kotlin-schema-generator", "7.1.5") - implementation("com.expediagroup", "graphql-kotlin-server", "7.1.5") - implementation("com.expediagroup", "graphql-kotlin-federation", "7.1.5") + implementation("com.expediagroup", "graphql-kotlin-schema-generator", "8.0.0") + implementation("com.expediagroup", "graphql-kotlin-server", "8.0.0") + implementation("com.expediagroup", "graphql-kotlin-federation", "8.0.0") } sourceSets { diff --git a/test/unit/should_replace_federation_directives/schema.graphql b/test/unit/should_replace_federation_directives/schema.graphql index 85529e5..56a9469 100644 --- a/test/unit/should_replace_federation_directives/schema.graphql +++ b/test/unit/should_replace_federation_directives/schema.graphql @@ -1,6 +1,9 @@ -directive @extends on OBJECT -directive @external on FIELD_DEFINITION -directive @key(fields: FieldSet!) repeatable on OBJECT | INTERFACE +directive @extends on OBJECT | INTERFACE +directive @external on OBJECT | FIELD_DEFINITION +directive @key( + fields: FieldSet! + resolvable: Boolean = true +) repeatable on OBJECT | INTERFACE scalar FieldSet type FederatedType @extends @key(fields: "some field") {