GraphQL @oneOf: Exactly One Input, Enforced by the Schema
Every GraphQL schema I've worked on eventually grows a field that can be looked up more than one way. You want a user by ID, or by email, or by username. The type system has no way to say "exactly one
grimicorn.hashnode.dev4 min read