From 9bb965228a2da1307a7789b075c773dbab894e4c Mon Sep 17 00:00:00 2001 From: Suyeon Jung Date: Thu, 19 Sep 2024 21:39:58 +0900 Subject: [PATCH] Converted an extended operation type to a root type in the GraphQL schema Signed-off-by: Suyeon Jung --- .../definitions/shared/chaos_infrastructure.graphqls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chaoscenter/graphql/definitions/shared/chaos_infrastructure.graphqls b/chaoscenter/graphql/definitions/shared/chaos_infrastructure.graphqls index 0ffc9552666..3dde028b21b 100644 --- a/chaoscenter/graphql/definitions/shared/chaos_infrastructure.graphqls +++ b/chaoscenter/graphql/definitions/shared/chaos_infrastructure.graphqls @@ -617,7 +617,7 @@ type ServerVersionResponse { value: String! } -extend type Query { +type Query { # INFRA OPERATIONS """ Returns infra with a particular infraID in the project @@ -656,7 +656,7 @@ extend type Query { getServerVersion: ServerVersionResponse! } -extend type Mutation { +type Mutation { """ Connect a new infra for a user in a specified project """ @@ -705,7 +705,7 @@ extend type Mutation { kubeNamespace(request: KubeNamespaceData!): String! } -extend type Subscription { +type Subscription { # INFRA OPERATIONS """ Listens infra events from the graphql server