-
Notifications
You must be signed in to change notification settings - Fork 28
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
brick.g.dart is not generated #344
Comments
Hi @Mikhail-Ivanou what version of Brick are you migrating from? Are there any build errors in your console when running |
initially it was
than it was updated to
Now I update to Here is what I see in terminal for main project and also no errors or warnings for sample |
@Mikhail-Ivanou did you follow the migration guide from 1 -> 2 or did you just change the pub versions? Notably, are your files |
Yep, v1 -> v2 migration was done. And adapters are generated correctly The most confusing is that https://github.com/GetDutchie/brick/tree/main/example_rest has similar issues for me |
@Mikhail-Ivanou I can reproduce. I'm not sure what's going on. Thanks for reporting; it may be a few days before I can get back to you. |
@Mikhail-Ivanou please upgrade |
It works! Thanks! |
Hey, I've tried to migrate brick to latest version with dart 3, and face issue that brick.g.dart is not generated.
So I get generated adapters with
part of '../brick.g.dart';
But actually no brick.g.dart exists.
Tried alos samples, they have similar issue.
[√] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version 10.0.17763.4499], locale ru-RU) (Issue is reproducible on mac too)
PS D:\git\brick\example_rest> flutter --version
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 796c8ef792 (6 days ago) • 2023-06-13 15:51:02 -0700
Engine • revision 45f6e00911
Tools • Dart 3.0.5 • DevTools 2.23.1
What can be wrong?
The text was updated successfully, but these errors were encountered: