Skip to content

Casts are not properly called on repository update #1864

@Graphmaxer

Description

@Graphmaxer

Environment

No response

Reproduction

On https://github.com/Graphmaxer/pinia-orm/tree/fix/cast-on-update with test feature/casts/custom_casts

Describe the bug

When updating an existing model inside a repo via save the cast is not properly called

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions