-
Notifications
You must be signed in to change notification settings - Fork 2.8k
add a json path argument to query values inside json columns (close #1598) #1661
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
Conversation
|
Beep boop! 🤖 Hey @hgiasac, thanks for your PR! One of my human friends will review this PR and get back to you as soon as possible. 🕐 Stay awesome! 😎 |
4aef983 to
041cbb8
Compare
|
@rakeshkky I update the code with JSONPath parser and test cases. Can you review it? Thanks |
|
@hgiasac please apply |
|
@rakeshkky I update new code. Please check if you have time, thanks. Attoparsec prefers performance, so several parse error and message are skipped. I work around with some manual code. Please leave some advice If you get any better improvement. Thanks Have a nice weekend! |
|
@coco98 looks like preview app is now deployed. https://deploy-preview-1661--hasura-docs.netlify.com/graphql/manual/queries/simple-object-queries.html#fetch-json-fields |
|
@arvi3411301 Can you check why Heroku preview app was never created for this PR? |
|
@shahidhk Review apps will be deployed only when the circleci tests were run under hasura org. |
|
@arvi3411301, what does that mean? This PR's tests are running on a different org? |
|
Deploy preview for hasura-docs ready! Built with commit d6fcca5 |
|
@hgiasac Can you disable CircleCI on your repo? |
|
Done. Sorry about that |
|
Thanks! 👍 |
|
Review app for commit 0c1d6af deployed to Heroku: https://hge-ci-pull-1661.herokuapp.com |
rikinsk-zz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs LGTM
|
Review app for commit ea2f319 deployed to Heroku: https://hge-ci-pull-1661.herokuapp.com |
|
Review app for commit d6fcca5 deployed to Heroku: https://hge-ci-pull-1661.herokuapp.com |
|
Beep boop! 🤖 Whoa! 🎉 🎉 💃 Awesome work @hgiasac! 💪 🏆 All of us at Hasura ❤️ what you did. Thanks again 🤗 |
|
Review app https://hge-ci-pull-1661.herokuapp.com is deleted |
<!-- The PR description should answer 2 important questions: --> ### What Previously, using non-custom `ComparisonOperator` enum values meant we would not lookup in the boolean expression type to check we are allowed to use it. Now we do a reverse lookup from the found `DataConnectorOperatorName`. There is a small complexity / compromise here. In OpenDD, the filter from a `ModelSelectOne` (ie, a simple primary key comparison) is possible without a `BooleanExpressionType` being defined. Once the `OpenDD IR` is created there is no way to differentiate these filters from others. Therefore, we allow `ComparisonOperator::Equals` to skip this reverse lookup, so long as the filtering is happening at the root (ie, not within an array, nested field or relationship). V3_GIT_ORIGIN_REV_ID: bbc5deae9b9619042978ac0188210cbabe49fc7c
Description
What component does this PR affect?
Requires changes from other components? If yes, please mark the components:
Related Issue
#1598
Solution and Design
pathforjson/jsonbtypeSEOpApp "->"operatorType
Checklist: