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

No error is given when parsing malformed quads #117

Closed
nii236 opened this issue Jun 24, 2016 · 1 comment
Closed

No error is given when parsing malformed quads #117

nii236 opened this issue Jun 24, 2016 · 1 comment
Assignees
Labels
kind/bug Something is broken.

Comments

@nii236
Copy link

nii236 commented Jun 24, 2016

Hello!

I've been trying to set quads in dgraph, however it seems to allow whatever label I pass in! Here are some examples:

Triple

curl localhost:8080/query -XPOST -d 'mutation{ set { <alice> <follows> <bob> . }}'
{"code":"E_OK","message":"Done"}%

Quad

curl localhost:8080/query -XPOST -d 'mutation{ set { <alice> <follows> <bob> quad . }}'
{"code":"E_OK","message":"Done"}%

Pentagon

curl localhost:8080/query -XPOST -d 'mutation{ set { <alice> <follows> <bob> quad pentagon . }}'
{"code":"E_OK","message":"Done"}%

Hexagon After Dot

curl localhost:8080/query -XPOST -d 'mutation{ set { <alice> <follows> <bob> quad pentagon . hexagonafterdot}}'
{"code":"E_OK","message":"Done"}%
@manishrjain manishrjain added the kind/bug Something is broken. label Jun 24, 2016
@manishrjain manishrjain self-assigned this Jun 24, 2016
@pawanrawal pawanrawal added this to the v0.4 milestone Jul 5, 2016
@pawanrawal pawanrawal assigned pawanrawal and unassigned mohitranka Jul 27, 2016
@pawanrawal
Copy link
Contributor

This has been fixed and merged to develop 54a43ec

@manishrjain manishrjain added the kind/bug Something is broken. label Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken.
Development

No branches or pull requests

4 participants