Typed database IDs #47

Merged
reynir merged 2 commits from db-typed-id into main 2 years ago
reynir commented 2 years ago
Owner

This adds phantom types for the database IDs to track which table the IDs refer to. This should help us avoid using IDs for the wrong table, and it serves as better documentation.

This adds phantom types for the database IDs to track which table the IDs refer to. This should help us avoid using IDs for the wrong table, and it serves as better documentation.
reynir added 2 commits 2 years ago
Owner

I like this! Looks great :)

I like this! Looks great :)
reynir merged commit 7c7282894b into main 2 years ago
reynir referenced this issue from a commit 2 years ago
hannes deleted branch db-typed-id 2 years ago
The pull request has been merged as 7c7282894b.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: robur/builder-web#47
Loading…
There is no content yet.