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(GraphQL): fixes wrong query parameter value for custom field URL #6074

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

abhimanyusinghgaur
Copy link
Contributor

@abhimanyusinghgaur abhimanyusinghgaur commented Jul 27, 2020

Fixes GRAPHQL-590.

This PR fixes wrong parameter value being supplied in the URL query parameters for @custom fields. Earlier, all the nodes used to get the same value for a query parameter, which has been fixed, and now every node gets the value corresponding to its dgraph fields in the @custom query parameters.


This change is Reviewable

@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Jul 27, 2020
@abhimanyusinghgaur abhimanyusinghgaur marked this pull request as ready for review July 27, 2020 07:52
Copy link
Contributor

@pawanrawal pawanrawal left a comment

Choose a reason for hiding this comment

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

:lgtm:

Can we try running custom logic tests after building Dgraph with the race flag to confirm we don't have any other race conditions?

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @MichaelJCompton)

@abhimanyusinghgaur abhimanyusinghgaur merged commit 3f91f29 into master Jul 27, 2020
@abhimanyusinghgaur abhimanyusinghgaur deleted the abhimanyu/bad-custom-url branch July 27, 2020 11:24
abhimanyusinghgaur added a commit that referenced this pull request Aug 11, 2020
…#6074)

Fixes GRAPHQL-590.

This PR fixes wrong parameter value being supplied in the URL query parameters for `@custom` fields. Earlier, all the nodes used to get the same value for a query parameter, which has been fixed, and now every node gets the value corresponding to its dgraph fields in the `@custom` query parameters.

(cherry picked from commit 3f91f29)
abhimanyusinghgaur added a commit that referenced this pull request Aug 11, 2020
…#6074) (#6161)

Fixes GRAPHQL-590.

This PR fixes wrong parameter value being supplied in the URL query parameters for `@custom` fields. Earlier, all the nodes used to get the same value for a query parameter, which has been fixed, and now every node gets the value corresponding to its dgraph fields in the `@custom` query parameters.

(cherry picked from commit 3f91f29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

2 participants