Open
Description
I have been told by @martinbonnin that the following isn't supposed to work according to the spec:
extend type Query {
}
extend type Mutation {
}
However being able to have empty type definitions is useful sometimes where a local "stub" schema needs to be changed between empty and non-empty frequently as part of the dev workflow.
Specifically the use case for us is that we have a local stub.graphqls
schema alongside the remote schema we download from the backend. Our devs sometimes add types to the stubs.graphqls
while waiting for the changes to be deployed to the real schema (we try to avoid manually tempering the real schema). So about half of the time the content of the extend type Query
is empty.
A similar use case can be found here.
Metadata
Metadata
Assignees
Labels
No labels