You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the event_to_object JS package within this repo manually declares every attribute that is serializable.
This is primarily to prevent infinite recursive serialization of events. As a result, it currently only attempts to serialize pre-defined "safe" attributes.
Re-write event_to_object to either have a max-depth of something reasonable, or perform serialization in a way that auto-detects recursive behavior, and skips non-serializable objects.
In terms of auto detection, the core idea would be to keep an temporary list of all events that have been serialized, and make sure to not serialize them twice. Here's some quick and dirty psuedocode...
Activity