Skip to content

Unable to save object with specified uuid ID #78

@MihaelIsaev

Description

@MihaelIsaev

When I'm trying to save model to the database with specified UUID ID it saves with another random UUID ID. It looks like a bug.

In my case I'm trying to transfer data from another database and I really need to use my old UUIDs as PRIMARY KEY ID.

After some debugging I found where the problem is, we should check if UUID ID is already specified and only in case when it isn't fluent should generate random UUID.
Please take a look at this pull request #76
If everything is ok could someone please merge it and add it to the next release? 🙏

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions