-
Notifications
You must be signed in to change notification settings - Fork 94
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
Allow nullable types in collections #708
Closed
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f3a3b91
Update json_serializable and json_annotation constraint
nielsenko be48e61
Support nullable primitive types in collections.
nielsenko 14cd502
Add GoldenFileMatcher
nielsenko 1311a77
Use GoldenFileMatcher
nielsenko 4390966
Update good test .expected
nielsenko f0b8c7c
Fix generator tests
nielsenko 552d437
Update flutter example
nielsenko c261dbf
Fix minor linter violations
nielsenko b7ed0b5
Fix concurrency issue
nielsenko 7fd2f33
Use Myers diff to color code generator output mismatch
nielsenko 81de56b
Normalize with DartFormatter
nielsenko 4d2a9de
Add simple test
nielsenko ee3cffe
Update expected
nielsenko dbaff07
Split RealmObject in a pure interface and a mixin
nielsenko b44d95e
Update .expected to match changes to generator
nielsenko 5140bff
Clean dead-code, update a generated file that was missing
nielsenko 82cdd5c
"Fix" failing tests
nielsenko 95b3e6d
Enable dynamic tests on Flutter
nielsenko b8ffc06
Get rid off DynamiRealmObject.getList<T>('x'). You can use get<List<T…
nielsenko 549af93
Add test for list of nullables
nielsenko 4847215
Decorate internal (but public) classes/enums with /// @nodoc
nielsenko 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it will be working if the
mapping
member is a getter or method that to create the relevant Mapping instance? On this way it will lock simple in the API doc.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both
RealmPropertyType
andRealmCollectionType
should be/// @nodoc
. These are internal enums the user should never concern themselves with. I have pushed a commit to address this.