-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
FormatterException #5
Comments
Hello, I see you've activated the finalization option, could you try with |
This does work. |
…d worker/worker pool when `with_finalizers` is enabled (fix for #5)
I've pushed a fix on GitHub, before I publish an updated package, would you mind adding a |
using dependency_overrides:
squadron_builder:
git:
url: [email protected]:d-markey/squadron_builder.git
ref: a20b0a99e75f8df0ac54b1b2075c9fcb58faee4c and |
I ended up refactoring the code to better manage service/method parameters. Lots of changes but I just couldn't leave the code as it was --plain awful. If you confirm it still works via dependency_overrides, I'll publish a proper version to pub.dev. |
Tested OK ✅ with dependency_overrides:
squadron_builder:
git:
url: [email protected]:d-markey/squadron_builder.git
ref: fd4124c122c5ea6c9eabe8af09e9adbeb0c54cfa and squadron_builder:worker_builder:
options:
with_finalizers: true
serialization_type: List as well as squadron_builder:worker_builder:
options:
with_finalizers: true
#serialization_type: List |
Thanks, there were still a few corner-cases I had to handle so I pushed some more changes. I'll publish a new version later during the week-end I think. |
Fixed and published! |
Hey :)
Tried running the generator with
squadron: 5.1.1
andsquadron_builder: 2.2.0
and got thisFormatterExceoption
. Looks like it applies tosquadron_builder: 2.2.0
, as it fails as well withsuqadron: 5.0.0
.My
json_service.dart
is pretty basicand the generated
json_service.worker.g.dart
file looks like thisThe text was updated successfully, but these errors were encountered: