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
Currently, SuperJSON is unable to serialise Map { /a/g => foo } or any other key type that's compared by reference. This is because there can be serialisability conflicts:
m=newMap()m.set(/a/g,1)m.set(/a/g,1)m// Map { /a/g => 1, /a/g => 1 }/* How do you serlialize this? */
Some other things that need to be accounted for when extending SuperJSON to serialise reference-compared values:
referential equality to other values and keys needs to be persisted (e.g. added to referentialEqualities)
what about reference cycles contained in a key?
The text was updated successfully, but these errors were encountered:
Currently, SuperJSON is unable to serialise
Map { /a/g => foo }
or any other key type that's compared by reference. This is because there can be serialisability conflicts:Some other things that need to be accounted for when extending SuperJSON to serialise reference-compared values:
referentialEqualities
)The text was updated successfully, but these errors were encountered: