chore: handle push of unchanged schema
This commit is contained in:
+15
-1
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user