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

Change /commit endpoint to accept a list of preds. #3020

Merged
merged 5 commits into from
Feb 16, 2019

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Feb 15, 2019

Previously the commit endpoint accepted a list of keys. Now it accepts a
map with two keys, one whose value represents the keys and the other
represents the preds.

Fixes #3012


This change is Reviewable

Previously the commit endpoint accepted a list of keys. Now it accepts a
map with two keys, one whose value represents the keys and the other
represents the preds.
@martinmr martinmr requested a review from a team February 15, 2019 00:33
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: Just test this thoroughly.

Reviewable status: 0 of 3 files reviewed, all discussions resolved

@martinmr
Copy link
Contributor Author

Tested manually and added an extra test to ensure the endpoint works even if no list of preds is sent.

@martinmr martinmr merged commit 63418d7 into master Feb 16, 2019
@martinmr martinmr deleted the martinmr/http-commit-preds branch February 16, 2019 01:07
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Previously the commit endpoint accepted a list of keys. Now it accepts a
map with two keys, one whose value represents the keys and the other
represents the preds.

The endpoint still accepts the old format.
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