-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
GraphQL Object constraints #5715
Merged
Merged
Commits on Jun 21, 2019
-
Implements the GraphQL Object constraints, which allows us to filter queries results using the `$eq`, `$lt`, `$gt`, `$in`, and other Parse supported constraints. Example: ``` query objects { findMyClass(where: { objField: { _eq: { key: 'foo.bar', value: 'hello' }, _gt: { key: 'foo.number', value: 10 }, _lt: { key: 'anotherNumber', value: 5 } } }) { results { objectId } } } ``` In the example above, we have the `findMyClass` query (automatically generated for the `MyClass` class), and a field named `objField` whose type is Object. The object below represents a valid `objField` value and would satisfy all constraints: ``` { "foo": { "bar": "hello", "number": 11 }, "anotherNumber": 4 } ``` The Object constraint is applied only when using Parse class object type queries. When using "generic" queries such as `get` and `find`, this type of constraint is not available.
Configuration menu - View commit details
-
Copy full SHA for 181161e - Browse repository at this point
Copy the full SHA 181161eView commit details
Commits on Jun 24, 2019
-
Objects constraints not working on Postgres
Fixes the $eq, $ne, $gt, and $lt constraints when applied on an Object type field.
Configuration menu - View commit details
-
Copy full SHA for 9b34f07 - Browse repository at this point
Copy the full SHA 9b34f07View commit details
Commits on Jun 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for efe3e32 - Browse repository at this point
Copy the full SHA efe3e32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12ece92 - Browse repository at this point
Copy the full SHA 12ece92View commit details
Commits on Jun 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for df018ba - Browse repository at this point
Copy the full SHA df018baView commit details
Commits on Jul 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8b568f3 - Browse repository at this point
Copy the full SHA 8b568f3View commit details
Commits on Jul 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cbecde3 - Browse repository at this point
Copy the full SHA cbecde3View commit details
Commits on Jul 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 199e656 - Browse repository at this point
Copy the full SHA 199e656View commit details
Commits on Aug 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 483a70d - Browse repository at this point
Copy the full SHA 483a70dView commit details
Commits on Aug 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 25d5611 - Browse repository at this point
Copy the full SHA 25d5611View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c128c - Browse repository at this point
Copy the full SHA e4c128cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 595d7d8 - Browse repository at this point
Copy the full SHA 595d7d8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.