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

Output non-list uid predicates as a map. #2921

Merged
merged 3 commits into from
Jan 22, 2019
Merged

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Jan 21, 2019

Currently these predicates are outputted as a list, despite the fact
that only one value is ever allowed. This PR changes the query code so
that these predicates are outputted to json as a map.


This change is Reviewable

Currently these predicates are outputted as a list, despite the fact
that only one value is ever allowed. This PR changes the query code so
that these predicates are outputted to json as a map.
@martinmr martinmr self-assigned this Jan 22, 2019
Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

@martinmr martinmr merged commit 025ae34 into master Jan 22, 2019
@martinmr martinmr deleted the martinmr/output-map-json branch January 22, 2019 00:58
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Currently these predicates are outputted as a list, despite the fact
that only one value is ever allowed. This PR changes the query code so
that these predicates are outputted to json as a map.
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