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
I'm not sure if this is not an expected behavior, so posting this to discussions: Schema.instances() function returns all versions of mutable variable if it was mutated. Minimal example:
Is this an expected behavior? If so, shouldn't there be a flag for instances() to collect only immutable instances of schema? I'd like to have some way to get only the last version of mutable variables for the code above to render like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm not sure if this is not an expected behavior, so posting this to discussions:
Schema.instances()
function returns all versions of mutable variable if it was mutated. Minimal example:This renders to:
Is this an expected behavior? If so, shouldn't there be a flag for
instances()
to collect only immutable instances of schema? I'd like to have some way to get only the last version of mutable variables for the code above to render like this:Beta Was this translation helpful? Give feedback.
All reactions