apollo-language-server
Version:
A language server for Apollo GraphQL projects
32 lines (30 loc) • 607 B
text/typescript
import gql from "graphql-tag";
export const REMOVE_SERVICE_AND_COMPOSE = gql`
mutation RemoveServiceAndCompose(
$id: ID!
$graphVariant: String!
$name: String!
) {
service(id: $id) {
removeImplementingServiceAndTriggerComposition(
graphVariant: $graphVariant
name: $name
) {
compositionConfig {
implementingServiceLocations {
name
path
}
}
errors {
locations {
column
line
}
message
}
updatedGateway
}
}
}
`;