Skip to content

Minification breaks serialization #9008

@asturur

Description

@asturur

Currently serialization is broken.
While serialization and deserialization may work in the same app on the same build o fabricJS, there is no guarantee it will work across different builds.

Currenty when exporting an object we assign as type the name of the minified variable of the class:

image

That name is not stable and won't work across differnt builds.

Serialization in the current state is broken

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions