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

Add support for GraphQL error extension fields #467

Closed
milessabin opened this issue Sep 4, 2023 · 1 comment
Closed

Add support for GraphQL error extension fields #467

milessabin opened this issue Sep 4, 2023 · 1 comment
Assignees
Labels
conformance enhancement New feature or request

Comments

@milessabin
Copy link
Member

From the spec,

GraphQL services may provide an additional entry to errors with key extensions. This entry, if set, must have a map as its value. This entry is reserved for implementors to add additional information to errors however they see fit, and there are no additional restrictions on its contents.

We should support this as an additional attribute for the Problem type.

@milessabin
Copy link
Member Author

Whoops! Turns out that this has already been done (by @tpolecat) in #375!

@milessabin milessabin self-assigned this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conformance enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant