Feature: Change feeds should log the source of the change
Author: jquesada2016Created Sep 22, 2023Updated Sep 16, 2026
Labelsquestiontopic:changefeedstopic:output and errors and testing
Is your feature request related to a problem?
Currently, change feeds log the state of the record as it changes through time, however, it does not currently log who, or what caused the change to happen.
Describe the solution
Add the source of the change, whether it be a user or an event. It would also be great to be able to see a "stack trace" of source for events, where one event can cause another, and so on. Change feeds would be a great place to see the event propagation that ultimately led to the change in the given record.
Alternative methods
A possible alternative would be to disjoin the data and have change feeds for users and for events that log out the resource that was read/updated.
SurrealDB version
N/A
Contact Details
No response
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: surrealdb/surrealdb