Skip to content

Commit

Permalink
Refactored GraphQL schema to use Query and Mutation root types in cha…
Browse files Browse the repository at this point in the history
…os_experiment.graphqls for gqlgen compatibility

Signed-off-by: Suyeon Jung <[email protected]>
  • Loading branch information
suyeon-jung-dev committed Sep 20, 2024
1 parent 9bb9652 commit 2ca2a95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ type GetExperimentStatsResponse {
totalExpCategorizedByResiliencyScore: [ResilienceScoreCategory]!
}

extend type Query {
type Query {


"""
Expand All @@ -737,7 +737,7 @@ extend type Query {
getExperimentStats(projectID: ID!): GetExperimentStatsResponse!
}

extend type Mutation {
type Mutation {
"""
Creates a new experiment and applies its manifest
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ type ServerVersionResponse {
value: String!
}

type Query {
extend type Query {
# INFRA OPERATIONS
"""
Returns infra with a particular infraID in the project
Expand Down Expand Up @@ -656,7 +656,7 @@ type Query {
getServerVersion: ServerVersionResponse!
}

type Mutation {
extend type Mutation {
"""
Connect a new infra for a user in a specified project
"""
Expand Down

0 comments on commit 2ca2a95

Please sign in to comment.