-
Notifications
You must be signed in to change notification settings - Fork 2.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
breaking: drop id from event_triggers table (fix #1840) #1857
Conversation
Deploy preview for hasura-docs ready! Built with commit 81fe166 |
Review app for commit 417113e deployed to Heroku: https://hge-ci-pull-1857.herokuapp.com |
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.
Fix Pending events page.
Breaks if you delete a trigger and then re-add it with another name.
edit: happens if you just create a trigger on a table/action that is already part of another trigger
Check invocation logs page as well. |
Review app for commit 81fe166 deployed to Heroku: https://hge-ci-pull-1857.herokuapp.com |
Review app https://hge-ci-pull-1857.herokuapp.com is deleted |
Thanks, I've verified this patch fixes our issues. |
Description
An auto-generated trigger_id was being generated for each event_trigger. This trigger_id was causing problems as described in #1840 . We solve this by removing the trigger_id and using trigger_name as the identifier for the event_trigger everywhere.
Affected components
Related Issues
#1840
Solution and Design
Steps to test and verify
Limitations, known bugs & workarounds
This change is breaking in the following way:
id
key in thetrigger
section of the event payload i.e.changes to: