Logo
GitHubDiscord

@oneOf

A OneOf Input Object is a special variant of Input Object where exactly one field must be set and non-null, all others being omitted. This is useful for representing situations where an input may be one of many different options

More info: https://spec.graphql.org/draft/#sec-OneOf-Input-Objects

Projects

Project Name Supported Since Note
Apollo Client N/A
Apollo Kotlin 4.0.0
Apollo Router -

Requires support in apollo-rs (pr)

Apollo Server ?

Know the status of this feature? Let us know!

Apollo iOS 1.16.0

pr, release

Domain Graph Service (DGS) Framework ?

Know the status of this feature? Let us know!

GraphQL Code Generator ?

Know the status of this feature? Let us know!

GraphQL Java 21.2
GraphQL Kotlin ?

Know the status of this feature? Let us know!

GraphQL Yoga ?

Know the status of this feature? Let us know!

GraphQL.js 16.9.0
GraphiQL ?

Know the status of this feature? Let us know!

Grats ?

Know the status of this feature? Let us know!

Hot Chocolate 15.0.0
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!