When using "repo.save(object)" with an object that has the primary key set to '@id' instead of default "id" the following error occurs:
Error: [Pinia ORM] The record is missing the primary key. If you want to persist record without the primary key, please define the primary key field with the uid attribute.
Defining the data manually works: "repo.save({'@id': object['@id'])"
Environment
No response
Reproduction
-
Describe the bug
When using "repo.save(object)" with an object that has the primary key set to '@id' instead of default "id" the following error occurs:
Error: [Pinia ORM] The record is missing the primary key. If you want to persist record without the primary key, please define the primary key field with the
uid
attribute.Defining the data manually works: "repo.save({'@id': object['@id'])"
Additional context
No response
Logs
No response