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
When a function returns a class object, it can't be serialized to json and send it across RPC, because all of properties are dynamically loaded. Is there any way to marshal it to a completely JS object? Because compiling into a module doesn't work well.
It will be nice if can provide a snapshot helper to take the snapshot of a reference and let it pass with rpc.
The text was updated successfully, but these errors were encountered:
reitowo
changed the title
Unable to JSON.stringify
Provide a way to eagerly marshal all properties to js object.
Nov 22, 2024
reitowo
changed the title
Provide a way to eagerly marshal all properties to js object.
Provide a way to eagerly marshal (snapshot) all properties to js object.
Nov 23, 2024
When a function returns a class object, it can't be serialized to json and send it across RPC, because all of properties are dynamically loaded. Is there any way to marshal it to a completely JS object? Because compiling into a module doesn't work well.
It will be nice if can provide a snapshot helper to take the snapshot of a reference and let it pass with rpc.
The text was updated successfully, but these errors were encountered: