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 extensions in CoercionError #2431

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

ogom
Copy link
Contributor

@ogom ogom commented Aug 16, 2019

The idea of Custom Scalars is great.

In raise GraphQL::CoercionError used when the data is not correct, it seems better to be able to return optional keys and values to the client with extensions.

PR with reference to #1621.

@rmosolgo
Copy link
Owner

This looks great, thanks for taking care of it! Fixes #1621

@rmosolgo rmosolgo added this to the 1.9.11 milestone Aug 21, 2019
@rmosolgo rmosolgo merged commit df46b80 into rmosolgo:master Aug 21, 2019
@ogom ogom deleted the extensions_in_coercion_error branch August 21, 2019 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants