-
Notifications
You must be signed in to change notification settings - Fork 388
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
Compile-time error in generated [for View] DataClass #3454
Comments
@simolus3 View Reference:
|
Good catch, thanks for the report! |
@simolus3 Thank you very much for a quick fix! |
I've just released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Data Class generated from a View using
dart run drift_dev schema generate
starts with$
, therefore creating a compile-time error.Simplest fix would be to wrap className with
${...}
:Repro:
Reference:
drift/drift_dev/lib/src/writer/utils/override_toString.dart
Line 24 in 01bab07
The text was updated successfully, but these errors were encountered: