-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Introduction
Currently, the withStorage layer works with the id field as the entity's PK. The value of the id field is always a simple MongoDB ID.
This is not good for a couple of reasons.
-
In some databases, like e.g. DynamoDB, the user basically never uses a randomly generated ID for PKs. So, this means we need to ensure that users can use any arbitrary string as the PK.
-
Users cannot define a composite PK - a key that consists of two or more fields.
The solution
We need to allow users to use any arbitrary string as the PK, and we need to allow defining composite PKs.
Implementation details
TBD
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request