-
Notifications
You must be signed in to change notification settings - Fork 2.8k
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) #5257
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
|
Deploy preview for hasura-docs ready! Built with commit 8c761ee |
|
Review app for commit b3adcb5 deployed to Heroku: https://hge-ci-pull-5257.herokuapp.com |
sezgi
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 & sample app
beerose
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.
Console
b3adcb5 to
a47b5ac
Compare
|
Review app for commit a47b5ac deployed to Heroku: https://hge-ci-pull-5257.herokuapp.com |
|
Review app for commit 8c761ee deployed to Heroku: https://hge-ci-pull-5257.herokuapp.com |
|
Review app https://hge-ci-pull-5257.herokuapp.com is deleted |
…ission & change relay endpoint to '/v1beta1/relay' (fix hasura#5218) (hasura#5257) * fix error when array relation connections are queried, fix hasura#5218 * change relay endpoint to '/v1beta1/relay' * Update CHANGELOG.md Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
Description
Initial decision was to discard the array connection fields if aggregations aren't enabled in the select permission. It was because, the connection may have support for querying "aggregate" field in future iteration. In this PR, the change is made to include the connection field regardless of aggregation permission. However, if we were to support the "aggregate" field in the connection object, we can alone include that field only if aggregations are allowed.
Changelog
CHANGELOG.mdis updated with user-facing content relevant to this PR. If no changelog is required, then add theno-changelog-requiredlabel.No changelog entry is being added. The existing change log is modified to replace /v1beta/relay in place of /v1/relay.
Affected components
Related Issues
Fix #5218
Solution and Design
A single line change to include the array connection field regardless of
allowAggcheck.Steps to test and verify
Limitations, known bugs & workarounds
Server checklist
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
Does this PR add a new Metadata feature?
GraphQL
Breaking changes
/v1beta1/relay.