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

fix unions with custom scalar values #681

Merged
merged 3 commits into from
Jun 14, 2020

Conversation

ccbrown
Copy link
Contributor

@ccbrown ccbrown commented Jun 14, 2020

The changes introduced in #666 don't quite work for unions where custom scalar values are used.

Explicitly specifying a scalar value type only worked when that type was DefaultScalarValue. This fixes that and adds a test.

@tyranron tyranron added the enhancement Improvement of existing features or bugfix label Jun 14, 2020
Copy link
Member

@tyranron tyranron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ccbrown thank you! ❤️

I've polished your contribution a bit to strip away the stuff appeared to be redundant now.

@tyranron
Copy link
Member

@LegNeato the GitHub Actions ICEs of rustc are weird... can't really understand why they happen.

As for nightly builds on Azure Pipelines, it seems that something is wrong with the latest nightly version. Locally, all the the code builds OK and tests pass.

I'm going to merge this anyway, and retry the stuff in master on the next nightly update. Seems to be irrelevant to this PR anyway...

@tyranron tyranron merged commit 6dd6abb into graphql-rust:master Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants