Empty objectsExperimentalRFC1
Allow object types with no fields:
type Query {
topAuthors: [Author!]
}
type Author {
name: String!
topBooks: [Book!]
}
# this is valid
type Book {}
This is useful to represent partial schemas (for example to feed an LLM), or to deprecate all the fields of a type without making the schema invalid.
More info: https://github.com/graphql/graphql-spec/pull/1228
Projects
| Project Name | Supported Since | Note |
|---|---|---|
| Apollo Client | ? | Know the status of this feature? Let us know! |
| Apollo Kotlin | main | |
| Apollo Router | ? | Know the status of this feature? Let us know! |
| Apollo Server | ? | Know the status of this feature? Let us know! |
| Apollo iOS | ? | Know the status of this feature? Let us know! |
| Cosmo Router | - | |
| Domain Graph Service (DGS) Framework | ? | Know the status of this feature? Let us know! |
| Fusion | ? | Know the status of this feature? Let us know! |
| GraphQL Code Generator | ? | Know the status of this feature? Let us know! |
| GraphQL Java | ? | Know the status of this feature? Let us know! |
| GraphQL Kotlin | ? | Know the status of this feature? Let us know! |
| GraphQL Yoga | ? | Know the status of this feature? Let us know! |
| GraphQL.js | - | |
| GraphiQL | ? | Know the status of this feature? Let us know! |
| Grats | ? | Know the status of this feature? Let us know! |
| Hive Gateway | ? | Know the status of this feature? Let us know! |
| Hot Chocolate | ? | Know the status of this feature? Let us know! |
| Mercurius | N/A | Provided by GraphQL.js |
| Nitro | ? | Know the status of this feature? Let us know! |
| Relay | ? | Know the status of this feature? Let us know! |
| Spring for GraphQL | ? | Know the status of this feature? Let us know! |
| gql.tada | ? | Know the status of this feature? Let us know! |
| urql | ? | Know the status of this feature? Let us know! |