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

Error handling for base 64 decoding (unique_within_type) #3179

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

grvillic
Copy link
Contributor

@grvillic grvillic commented Oct 2, 2020

GraphQL::Schema::UniqueWithinType error handling missing for Base64Encoder

Small change to better handle ArgumentError exception when decoding an invalid string. We already have a utility function that handles it here, we are reusing it.

Adding a test for this change as well.

@rmosolgo rmosolgo added this to the 1.11.6 milestone Oct 5, 2020
@rmosolgo
Copy link
Owner

rmosolgo commented Oct 5, 2020

Thanks for the fix!

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