-
Notifications
You must be signed in to change notification settings - Fork 30
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
Namespace support #60
Closed
Closed
Conversation
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
Add prefix with class name
copyWithNull
* adding the failing test and shortening the extension name * test fix * adding a sophisticated test case * fixing the generic annotation parsing * comments, cleanup, and asserts * extending _typeParametersNames function and removing _typeParametersAnnotation * naming * version bump * minor correction
* basic implementation * switch CI to dev * minor corrections * test fix * changelog
* Updating dependencies * typo fix
* readme update * source_gen and build versions bump * Update run_tests.yml
* added nullability for generic parameter constraints * added nullability check for typing nullables
* analyzer version is set to 2.0.0 * ci minor corrections * ci corrections * a possible build fix * minor ci correction * changelog * minor
* Switching to flutter_lints + null safety code cleanup * CI corrections * named constructor feature
* basic implementation * minor * prevent unnecessary copyWithNull methods generation * naming corrections * naming + ignore cast_nullable_to_non_nullable * docs + test fixes * docs * docs * release
* fix for copyWith null for a non-nullable value * version bump * minor ci correction * minor ci correction
* Updating analyser version * Release notes
* Lint correction * tests correction
Looks like this is a quite complex problem to solve, I looked at implementation of this feature in freezed library, it is able to handle some cases indeed, but not all of them e.g. |
2d631eb
to
eb072bd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #49