-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Check that uid is not used as function attribute #3112
Commits on Mar 9, 2019
-
gql/parser.go: disallow uid as attribute in functions
This change adds a check in the Gql parser to prevent functions from using `uid` as an attribute. `uid` is a protected attribute that should not be used directly but instead via function `uid()`.
srfrog committedMar 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 86c428b - Browse repository at this point
Copy the full SHA 86c428bView commit details -
gql/parser_test.go: add more test cases for uid in functions
srfrog committedMar 9, 2019 Configuration menu - View commit details
-
Copy full SHA for ffafaac - Browse repository at this point
Copy the full SHA ffafaacView commit details
Commits on Mar 12, 2019
-
Merge branch 'master' of github.com:/dgraph-io/dgraph into srfrog/iss…
…ue-3110_srcuids_assertion_fail
srfrog committedMar 12, 2019 Configuration menu - View commit details
-
Copy full SHA for c11082d - Browse repository at this point
Copy the full SHA c11082dView commit details
Commits on Mar 13, 2019
-
gql/parser.go: remove uid attribute tests in parser
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for d34ee08 - Browse repository at this point
Copy the full SHA d34ee08View commit details -
query/query.go: add check for invalid uid attributes when newGraph
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 21a9208 - Browse repository at this point
Copy the full SHA 21a9208View commit details -
gql/parser_test.go: remove obsolete parser tests
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for a604ea8 - Browse repository at this point
Copy the full SHA a604ea8View commit details -
query/query.go: match error with existing tests
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 62200a8 - Browse repository at this point
Copy the full SHA 62200a8View commit details -
systest/queries_test.go: remove obsolete test expecting parser error
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 2110658 - Browse repository at this point
Copy the full SHA 2110658View commit details -
Merge branch 'master' of github.com:/dgraph-io/dgraph into srfrog/iss…
…ue-3110_srcuids_assertion_fail
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 7e1cd99 - Browse repository at this point
Copy the full SHA 7e1cd99View commit details -
Merge branch 'master' of github.com:/dgraph-io/dgraph into srfrog/iss…
…ue-3110_srcuids_assertion_fail
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 40cf789 - Browse repository at this point
Copy the full SHA 40cf789View commit details -
query/query1_test.go: add query tests for uid attr
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 34ef382 - Browse repository at this point
Copy the full SHA 34ef382View commit details -
query/query1_test.go: readd missing test case
srfrog committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 048a8b5 - Browse repository at this point
Copy the full SHA 048a8b5View commit details
Commits on Mar 14, 2019
-
Merge branch 'master' of github.com:/dgraph-io/dgraph into srfrog/iss…
…ue-3110_srcuids_assertion_fail
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 924149b - Browse repository at this point
Copy the full SHA 924149bView commit details -
query/query0_test.go: add test for empty values comparison functions,…
… filters.
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 9bb03d3 - Browse repository at this point
Copy the full SHA 9bb03d3View commit details -
query/query.go: add check for uid attr in filters, minor syntax and t…
…ypo cleanups
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for abf6c6e - Browse repository at this point
Copy the full SHA abf6c6eView commit details -
query/query1_test.go: add tests for functions with uid attribute
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 6823c41 - Browse repository at this point
Copy the full SHA 6823c41View commit details -
query/query3_test.go: add test for regexp() with empty value
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 2fca6da - Browse repository at this point
Copy the full SHA 2fca6daView commit details -
worker/task.go: nicer error for syntax error for conversion of NaN
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 241a8cc - Browse repository at this point
Copy the full SHA 241a8ccView commit details -
query/query0_test.go: add tests for functions with empty string value
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 3d80238 - Browse repository at this point
Copy the full SHA 3d80238View commit details -
query/query.go: prevent some children functions from using uid attribute
srfrog committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 3df98de - Browse repository at this point
Copy the full SHA 3df98deView commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 12cb393 - Browse repository at this point
Copy the full SHA 12cb393View commit details -
query/query1_test.go: fix typo in test
srfrog committedMar 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 4fa8f3d - Browse repository at this point
Copy the full SHA 4fa8f3dView commit details -
Merge branch 'srfrog/issue-3110_srcuids_assertion_fail' of github.com…
…:/dgraph-io/dgraph into srfrog/issue-3110_srcuids_assertion_fail
srfrog committedMar 15, 2019 Configuration menu - View commit details
-
Copy full SHA for e99ba79 - Browse repository at this point
Copy the full SHA e99ba79View commit details -
worker/task.go: add value to error message, update the test
srfrog committedMar 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 6eaa243 - Browse repository at this point
Copy the full SHA 6eaa243View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db736d - Browse repository at this point
Copy the full SHA 9db736dView commit details