-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Generator fails without error message #93
Comments
Update, I deleted my generated folder and run using
|
Hi, can you share your openapi.json. Or try if you can reproduce the error with the example code |
Hi, upon further investigation, this was a |
At least from my point of view I can confirm that everything still generates fine. However, more annoying than the severe log is the fact that the generator's return value is not 0. That behaviour breaks all automated builds, which rely on a correct return value of the programs called. For now we have to ignore the return value of the |
@thomasgi1 I don't believe this log should cause what you are experiencing. I have released the patch to remove the log, please check it out. If it is still happening , please share your logs and a minimal openapi spec that reproduces the issue. |
I tested your patch. It fixes the problem. Thank you for that. I also double checked the return value behaviour of version 4.11.0. That old version definitely returns an error code != 0. However, in version 4.11.1 the error code is 0 again. |
Description of the bug
When running
dart run build_runner build --delete-conflicting-outputs -v
, it fails with a [SEVERE] message, but no error message:Steps to reproduce
My configuration looks like this:
And I'm running it like this:
dart run build_runner build --delete-conflicting-outputs -v
Expected behavior
If there's something wrong with my openapi spec, of something wrong with my configuration, I expect to see error messages telling me why the generation failed.
Logs
No response
Screenshots
No response
Platform
macOS
Library version
4.11.0
Flutter version
3.10.6
Flutter channel
stable
Additional context
No response
The text was updated successfully, but these errors were encountered: