CodeDredd / pinia-orm

The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.
https://pinia-orm.codedredd.de/
MIT License
444 stars 38 forks source link

Attr default value can be modified by reference #1868

Closed Graphmaxer closed 3 months ago

Graphmaxer commented 3 months ago

Environment

No response

Reproduction

Describe the bug

The attr field type should create a copy of the default value to avoid modifying it by reference

Additional context

No response

Logs

No response