-
Jean Boussier authored
Fix: https://github.com/rails/rails/issues/54681 Followup: https://github.com/rails/rails/pull/54585 We can't deserialize mutable types because otherwise mutations would leak, or we'd need to deep dup them. It's more efficient to keep them serialized in default. However for immutable types like Integer, it's both faster and more correct to eagerly deserialize them.
Jean Boussier authoredFix: https://github.com/rails/rails/issues/54681 Followup: https://github.com/rails/rails/pull/54585 We can't deserialize mutable types because otherwise mutations would leak, or we'd need to deep dup them. It's more efficient to keep them serialized in default. However for immutable types like Integer, it's both faster and more correct to eagerly deserialize them.
Loading