Repository navigation
feat: Add Support for UUIDs - #640
Closed
fischerscode wants to merge 3 commits into
Closed
fischerscode wants to merge 3 commits into
fischerscode wants to merge 3 commits into
Conversation
Collaborator
|
@fischerscode, perhaps it would be nicer to use the https://pub.dev/packages/uuid package to do this proper? |
Contributor
Author
|
So, you would use UuidValue instead of String? The downside is that we would need an additional dependency. |
8 tasks done
Contributor
Author
Implemented in #641 as an alternative to this PR. |
Contributor
Author
|
This PR now includes c2672e5. I'm not sure, why the change occurred while regenerating... |
Collaborator
|
I'm closing this one. The one with Uuid objects feels more correct to me. |
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Adds support for UUIDs. They are represented as a
Stringon the dart side, and as anuuidin the database.Fix #635
I decided to introduce
_uuidas a 'virtual' type.This is an alternative implementation to #641.
Close #641
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
none
(In theory, someone could have used
_uuidas a type before, but since the name starts with an underscore, this is more then unlikely)