Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement @oneOf input unions #882

Open
goto-bus-stop opened this issue Jul 19, 2024 · 1 comment
Open

Implement @oneOf input unions #882

goto-bus-stop opened this issue Jul 19, 2024 · 1 comment
Assignees
Labels

Comments

@goto-bus-stop
Copy link
Member

What will we need, beyond validation?

graphql/graphql-spec#825

@SimonSapin
Copy link
Contributor

Based on a first skim of the proposed spec:

  • A new built-in directive definition
  • Some new schema validation rules
  • A new rule for input coercion
    • In validation, for literal object values
    • In the execution engine, for variables (even though introspection, the only user of this engine for now, does not use @oneOf)
  • A new schema-introspection field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants