-
Notifications
You must be signed in to change notification settings - Fork 5
Don't process $snapshot via plugins #280
Comments
Import and export plugins are the only ones that legitimately need to access this event. Handling them in a separate Regarding |
Interestingly, I had a call with a user recently about this. He would want to actually do some processing on session recording events. We should probably make a determination otherwise people could actually start writing plugins that target |
@yakkomajuri what kind of processing was this user looking at? If nothing substantial, I'd propose we:
|
Provocative title, I know.
Currently $snapshot events are treated like any other and processed by plugins. However:
The only usecase for plugins is syncing it to other data sources and playing back via rrweb there.
I'd propose ignoring snapshot events for now and in the future perhaps add a
processSnapshotBatch
or similar function to plugins if the syncing scenario comes up. This function would not be allowed to modify the data though.The text was updated successfully, but these errors were encountered: