-
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
feat(graphql): Introducing Nested Filtering for Dgraph GraphQL API with Optimized Query Support #9100
base: main
Are you sure you want to change the base?
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for faecee6 - Browse repository at this point
Copy the full SHA faecee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ed624 - Browse repository at this point
Copy the full SHA 83ed624View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9012f15 - Browse repository at this point
Copy the full SHA 9012f15View commit details
Commits on Jun 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 55f5b6e - Browse repository at this point
Copy the full SHA 55f5b6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fddbf7 - Browse repository at this point
Copy the full SHA 9fddbf7View commit details -
✨ (query_rewriter.go): Add check for search directive in nested objec…
…t filtering ♻️ (query_rewriter.go): Refactor to store field definition in a variable for reuse ✨ (wrappers.go): Add HasSearchDirective method to FieldDefinition interface and its implementation to check for search directive in a field
Configuration menu - View commit details
-
Copy full SHA for 01c84ca - Browse repository at this point
Copy the full SHA 01c84caView commit details
Commits on Jun 10, 2024
-
♻️ (query.go): Add space for better code readability
✨ (query_rewriter.go): Remove unnecessary assignment of aggFilterQueries 💡 (query_rewriter.go): Add comments to explain nested object filtering 🐛 (query_rewriter.go): Fix nested object filtering to handle nested fields correctly
Configuration menu - View commit details
-
Copy full SHA for c48b191 - Browse repository at this point
Copy the full SHA c48b191View commit details
Commits on Jun 12, 2024
-
♻️ (query_rewriter.go): Refactor code to improve readability and main…
…tainability ✨ (query_test.yaml, schema.graphql, gqlschema_test.yml): Add tests and schema for nested filtering 🐛 (gqlschema.go, rules.go): Fix validation for @search directive to require @hasInverse directive when necessary ♻️ (wrappers.go): Rename function 'hasInverseReference' to 'hasInverse' for clarity 💡 (wrappers.go): Remove unnecessary semicolon and improve code formatting ✨ (wrappers.go): Extend 'isCustomType' function to include 'ast.Interface' kind 🐛 (wrappers.go): Add additional check for inverse type when querying from an interface, not the implemented type
Configuration menu - View commit details
-
Copy full SHA for c4aa1b9 - Browse repository at this point
Copy the full SHA c4aa1b9View commit details
Commits on Jun 13, 2024
-
♻️ (query_rewriter.go): Refactor nested object filter building logic …
…for readability ✨ (query_test.yaml): Add test cases for deeply nested object queries and AND/OR conditions 🐛 (gqlschema.go, rules.go, wrappers.go): Fix custom type detection by passing type instead of field definition
Configuration menu - View commit details
-
Copy full SHA for 3544b65 - Browse repository at this point
Copy the full SHA 3544b65View commit details -
✨ (query_test.yaml): Add new test case "query nested with aggregate f…
…unction" to increase test coverage and ensure the aggregate function works as expected in nested queries.
Configuration menu - View commit details
-
Copy full SHA for 3a5f682 - Browse repository at this point
Copy the full SHA 3a5f682View commit details
Commits on Jun 14, 2024
-
✨ (schema.graphql): Add Nested_X, Nested_Y, and Nested_Z types to sup…
…port nested filtering ✨ (auth_query_test.yaml): Add test case for nested filter query 🐛 (mutation_rewriter.go): Update rewriteAsQueryByIds and addFilter functions to include mutation alias for better query identification ♻️ (query_rewriter.go): Refactor filterQueries to varQry for better semantics ✨ (query_rewriter.go): Add queryName parameter to rewriteAsQuery and addArgumentsToField functions to support query aliasing 🐛 (query_rewriter.go): Fix issue where only the first query was returned in rewriteRuleNode, now returns all queries including nested var queries
Configuration menu - View commit details
-
Copy full SHA for a64fea4 - Browse repository at this point
Copy the full SHA a64fea4View commit details
Commits on Jun 18, 2024
-
🐛 (schema.graphql): Update Nested_X and Nested_Y types to fix query r…
…ules for more test coverage ✨ (auth_delete_test.yaml): Add new test case for delete selection by nested filter ✨ (auth_query_test.yaml): Update existing test case and add new ones for positive, negative, and uncertain auth rules with nested filter 🐛 (mutation_rewriter.go): Fix addFilter function call to include authRw parameter ♻️ (query_rewriter.go): Refactor addFilter and buildFilter functions to include authRewriter parameter for better access control 💡 (query_rewriter.go): Update function calls to addFilter and buildFilter to pass authRewriter parameter for improved security ♻️ (query_rewriter.go): Refactor variable name from 'queries' to 'varQry' for better readability ✨ (query_rewriter.go): Add 'auth' parameter to 'buildFilter' and 'buildUnionFilter' functions to support authorization rewriting in queries
Configuration menu - View commit details
-
Copy full SHA for 00e4876 - Browse repository at this point
Copy the full SHA 00e4876View commit details
Commits on Jun 24, 2024
-
♻️ (wrappers.go): Refactor condition check in Inverse function for be…
…tter readability
Configuration menu - View commit details
-
Copy full SHA for a3ab965 - Browse repository at this point
Copy the full SHA a3ab965View commit details -
♻️ (query.go): Remove unnecessary line break to improve code readability
✨ (query.go): Add timer to track query execution time for performance monitoring
Configuration menu - View commit details
-
Copy full SHA for c95ecba - Browse repository at this point
Copy the full SHA c95ecbaView commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for acbdbea - Browse repository at this point
Copy the full SHA acbdbeaView commit details