We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A potential solution for #49
The principle is, any decorator added on a @freezed constructor would be transposed to the generated class.
@freezed
This means that if we write:
@freezed abstract class Example with _$Example { @deprecated factory Example() = GeneratedClass; }
This would lead to:
@deprecated class GeneratedClass { ... }
The text was updated successfully, but these errors were encountered:
Add class level decorators
a5c7b06
closes #50, closes #49
bd942d0
Successfully merging a pull request may close this issue.
A potential solution for #49
The principle is, any decorator added on a
@freezed
constructor would be transposed to the generated class.This means that if we write:
This would lead to:
The text was updated successfully, but these errors were encountered: