Skip to content
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

Support cascading "beacons" to fire websockets/webhooks #178

Open
andyslack opened this issue Jan 4, 2025 · 0 comments
Open

Support cascading "beacons" to fire websockets/webhooks #178

andyslack opened this issue Jan 4, 2025 · 0 comments

Comments

@andyslack
Copy link
Contributor

There is a functionality gap with Triggers/Stored Procedures etc whereby updates are made within the database instance and do not trigger webhooks/websocket updates.

One solution could be to host a "_llana_beacon" table which triggers "child" updates based on a "parent" table update.

E.g. If "SalesOrder" is updated, then fire updates for relations in "Customer" table.

Table schema:

parent child on_create on_update on_delete
SalesOrder Customer true true true

In the relevant controllers, the lookup based on parent, call webhook/websocket on child table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant