-
Notifications
You must be signed in to change notification settings - Fork 4
String backed strongly typed IDs #809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
39d5eaa
Support string raw and prefixed typed IDs
Dragemil 9bf5c22
Add language annotations for C# in strings for source generation code
Dragemil dc637b7
Rename MaxValuePartLength to MaxValueLength and update related logic
Dragemil 714043b
Update ID docs
Dragemil d204aa2
Improve MaxValueLength documentation
Dragemil 3ba9c5e
Fix GetValuePart to handle Empty instance
Dragemil dd1f33b
Add MaxValueLength validation to FromValuePart and constructor
Dragemil 4f9a860
Improve RawString parse error message
Dragemil 5dcd7e0
Add language annotations for C# in strings for source generation code
Dragemil 1cec43b
Refactor typed ID structures to implement IConstSizeTypedId and IMaxL…
Dragemil 0f2f8ed
Add EF Core support for string-typed IDs with max length validation
Dragemil aa97bab
Add integration tests for PrefixedUlidId
Dragemil 54ec58b
Enhance typed ID property builders to include comparers for int, long…
Dragemil 1730e1f
Update documentation for IDs to correct MaxLength property name
Dragemil ff35af7
Add IHasEmptyId interface and refactor typed ID EF builders max lengt…
Dragemil 6fc5c3d
Refactor string-typed ID implementation to unify max length handling …
Dragemil 839fe29
Add tests for raw and prefixed string ID max value length requirement
Dragemil d8438b1
Address string typed IDs in changelog and fix their attribute XML docs
Dragemil cf1598a
Include strongly typed IDs in integration tests
Dragemil fa4074e
Bring back `AreFixedLength()` ID column configurations for backcomp
Dragemil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.