chore: handle push of unchanged schema

This commit is contained in:
2022-10-14 22:41:56 +02:00
parent eb41e24002
commit b1124d6350
10 changed files with 866 additions and 61 deletions
+15 -1
View File
@@ -1,11 +1,25 @@
type Query {
subGraphs(ref: String!): [SubGraph!]! @hasApiKey
subGraphs(ref: String!): [SubGraph!]! @hasApiKey @deprecated(reason: "Use supergraph instead")
supergraph(ref: String!, isAfter: String): Supergraph! @hasApiKey
}
type Mutation {
updateSubGraph(input: InputSubGraph!): SubGraph! @hasApiKey
}
union Supergraph = Unchanged | SubGraphs
type Unchanged {
id: ID!
minDelaySeconds: Int!
}
type SubGraphs {
id: ID!
minDelaySeconds: Int!
subGraphs: [SubGraph!]!
}
type SubGraph {
id: ID!
service: String!