-
Notifications
You must be signed in to change notification settings - Fork 2.8k
send session variables in event trigger payload (close #1328) #1458
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
send session variables in event trigger payload (close #1328) #1458
Conversation
62adf35 to
c7f7481
Compare
|
Review app for commit c7f7481 deployed to Heroku: https://hge-ci-pull-1458.herokuapp.com |
|
Review app for commit 9cbe0b7 deployed to Heroku: https://hge-ci-pull-1458.herokuapp.com |
|
We use |
|
Review app for commit 7491ff6 deployed to Heroku: https://hge-ci-pull-1458.herokuapp.com |
|
Review app https://hge-ci-pull-1458.herokuapp.com is deleted |
…ng (#1458) <!-- The PR description should answer 2 important questions: --> ### What Resolve relationships targeting commands in the new opendd query planner, thereby supporting command relationships in JSON:API. ### How - Resolve command relationships in opendd query planning. - Fix NDC response processing in JSON:API for command relationships by considering the `__value` field. - Add a test in json:api. <!-- How is it trying to accomplish it (what are the implementation steps)? --> V3_GIT_ORIGIN_REV_ID: 586a5f24543b5696e6aefafe469d4ed3e8807ed3
Description
Event Trigger payload now contains a key "session_variables" which has all the "x-hasura-*" variables used in the context of the event.
What component does this PR affect?
Requires changes from other components? If yes, please mark the components:
Related Issue
#1328
Solution and Design
Use current_settings('hasura.user') in the postgres trigger to populate payload.
Type
Checklist: