Skip to content

Support for strongly-typed IDs #2046

Discussion options

You must be logged in to vote

Heh, I just closed the last issue someone opened for strongly typed ids. I'm against doing this in Marten tbh, because I just don't want the extra complexity. You could possibly use this as is with Marten by making your strong typed id types be implicitly convertible to the Marten supported identifier types like an int, long, string, or Guid.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@adrianfrankowski95
Comment options

@jeremydmiller
Comment options

Answer selected by adrianfrankowski95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2045 on January 11, 2022 19:37.