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
InvalidGenerationSourceError.todo
https://pub.dev/documentation/source_gen/latest/source_gen/InvalidGenerationSourceError/todo.html
Back in the day, I used to actually output errors to the target file with // TODO: message. We don't do that anymore.
// TODO: message
This is heavily related to #454, obviously.
In the short term, I could simply add todo content (it if exists) to the toString of InvalidGenerationSourceError.
toString
InvalidGenerationSourceError
I can also mark todo as deprecated.
todo
Thoughts? @natebosch @davidmorgan @matanlurey @jakemac53
The text was updated successfully, but these errors were encountered:
Improve error message when @JsonSerializable is used with generics
02653f9
Follow-up on #714 ae72259 Also drop use of InvalidGenerationSourceError.todo See dart-lang/source_gen#480
Improve error message when @JsonSerializable is used with generics (#715
9f6c8b9
) Follow-up on #714 Also drop use of `InvalidGenerationSourceError.todo` See dart-lang/source_gen#480
We should be able to deprecate the entire class.
Sorry, something went wrong.
Sure. What's the replacement?
Do we need to wait on dart-lang/build#981 ?
InvalidGenerationSourceError has the magic that turns an element into a pretty code snippet. We'd want to keep that in some form, I think.
No branches or pull requests
https://pub.dev/documentation/source_gen/latest/source_gen/InvalidGenerationSourceError/todo.html
Back in the day, I used to actually output errors to the target file with
// TODO: message
. We don't do that anymore.This is heavily related to #454, obviously.
In the short term, I could simply add todo content (it if exists) to the
toString
ofInvalidGenerationSourceError
.I can also mark
todo
as deprecated.Thoughts? @natebosch @davidmorgan @matanlurey @jakemac53
The text was updated successfully, but these errors were encountered: