Open
Description
Issue
When we provide our own integer id to the repository for saving, it silently inserts an empty record with a generated ULID.
For example, providing an integer id like 1
album = await albumRepository.save(1, album)
will insert an empty record {}
with a generated ULID album:01FJYWEYRHYFT8YTEGQBABJ43J - {}
.
Expected Behaviour
The library should raise an error saying String expected for id
or can implicitly convert the integer to string.
Metadata
Metadata
Assignees
Labels
No labels