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 expand(_all_) in recurse queries #2600

Merged
merged 2 commits into from
Sep 29, 2018
Merged

fix expand(_all_) in recurse queries #2600

merged 2 commits into from
Sep 29, 2018

Conversation

jpacik
Copy link
Contributor

@jpacik jpacik commented Sep 17, 2018

Fixes #2555

Previously a recursive query containing an expand(_all_) would only expand the predicates of the root node. This PR introduces the correct behavior which is to expand the predicates for every node in the query.


This change is Reviewable

@jpacik
Copy link
Contributor Author

jpacik commented Sep 17, 2018

@manishrjain could I get a review on this PR for fixing expand in recurse queries.

Copy link
Contributor

@srfrog srfrog left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@srfrog srfrog left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@srfrog srfrog merged commit b9e92bd into dgraph-io:master Sep 29, 2018
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
* expected behavior of recursive expand query

* expand predicates at every level of a recursive query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants