You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 18, 2021. It is now read-only.
Hi,
Thanks for the quick reply. How do I get that version? I tried putting
aqueduct: '>= 4.0.0-b1'
in my pubspec.yaml file, but I get the error
Resolving dependencies...
Because backstreets depends on aqueduct >=4.0.0-b1 which doesn't match any
versions, version solving failed.
Sorry if I'm making beginner mistakes, but I am a beginner! :)
Take care,
Chris Norman
Strange - I thought 4.0.0 was available on pub, but it is not. A bad release went into pub and it caused all kinds of chaos that we unfortunately have not had the time to resolve yet. You might have to install Dart 2.7 and switch that and Dart 2.8 for Flutter/Aqueduct for the time being.
No problem. I can just wait. Any idea how long it'll take for the good
release to get uploaded?
I'm absolutely loving Aqueduct by the way! it's a wonderful library!
Take care,
Chris Norman
@joeconwaystk Thanks for the feedback.
Indeed, a version 2 (2.1.1 actually) of postgres dependency exists. If that's the only change needed, then it should be quite easy to fix. How can we/I help in this case?
I love the quality of the documentation and the whole experience with this lovely framework, so I really try to help/contribute.
@tedwong Yes, for now. Although this particular issue it's not strictly related to Aqueduct.
@edufolly Thanks a lot for the help, Eduardo! Indeed, this approach is working just great.
I need to look into the details of pub to get the full picture.
On Mon, 1 Jun 2020 at 21:07, Marius Ileana ***@***.***> wrote:
Today Aqueduct version 4.0.0-b1 has been published on pub.dev.
You can install it using:
pub global activate aqueduct 4.0.0-b1
And in the project's pubspec.yaml you can use it, together with the
updated version of aqueduct_test as below:
...
dependencies:
aqueduct: ^4.0.0-b1
dev_dependencies:
test: ^1.0.0
aqueduct_test: ^2.0.0-b1
And all of these using the recently released Dart SDK 2.8.3. Yay! 😄
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#841 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBUZ2P7JI3A4HVXADBPUCDRUQDANANCNFSM4NBYIGDA>
.
@pst9354 You're right, Patrik. The current - 4.0.0-b1 - version still includes dart:mirrors in multiple places.
@joeconwaystk I am seriously consider investing time and energy on this wonderful framework and try to contribute. Did you mentioned somewhere the strategy to get rid off the dart:mirrors dependency?
I guess any alternative would be based on code generation before the final build, so indeed at runtime there won't be any dynamic nature of such reflection.
Not sure right now if an alternative such as Reflectable can be considered.
Or simply use source_gen on an Aqueduct own library declared under dev_dependencies section of the pubspec.yaml.
@chrisnorman7 Oh, just for the sake or having things organized, I would close this issue.
@pst9354 I found out the issue where the AOT topic is being "officially" addressed. This is #669 so all of us interested on this topic can talk/watch on it.
Activity
chrisnorman7 commentedon May 15, 2020
Should probably have put my versions in here:
I'm more than happy to provide any other info that is relevant.
itsjoeconway commentedon May 15, 2020
Switch to 4.0.0-b1, it depends on an updated postgres driver. Unfortunately, Dart 2.8 had a breaking change that impacted v1 of the postgres driver.
chrisnorman7 commentedon May 15, 2020
itsjoeconway commentedon May 15, 2020
Strange - I thought 4.0.0 was available on pub, but it is not. A bad release went into pub and it caused all kinds of chaos that we unfortunately have not had the time to resolve yet. You might have to install Dart 2.7 and switch that and Dart 2.8 for Flutter/Aqueduct for the time being.
chrisnorman7 commentedon May 15, 2020
tedwong commentedon May 25, 2020
does it means that it is not dart 2.8 ready?
dxps commentedon May 27, 2020
@joeconwaystk Thanks for the feedback.
Indeed, a version 2 (
2.1.1actually) ofpostgresdependency exists. If that's the only change needed, then it should be quite easy to fix. How can we/I help in this case?I love the quality of the documentation and the whole experience with this lovely framework, so I really try to help/contribute.
@tedwong Yes, for now. Although this particular issue it's not strictly related to Aqueduct.
edufolly commentedon May 28, 2020
If you want to use dart > 2.7.0, you can add to
pubspec.yaml:To use aqueduct to upgrade the database:
pub run aqueduct db upgradeI don't have problems to use aqueduct with recent PostgreSQL plugin.
dxps commentedon May 29, 2020
@edufolly Thanks a lot for the help, Eduardo! Indeed, this approach is working just great.
I need to look into the details of
pubto get the full picture.dxps commentedon Jun 1, 2020
Today Aqueduct version
4.0.0-b1has been published on pub.dev.You can install the CLI using
pub global activate aqueduct 4.0.0-b1And in the project's
pubspec.yamlyou can use it, together with the updated version ofaqueduct_testas below:And all of these using the recently released Dart SDK
2.8.3. Yay! 😄chrisnorman7 commentedon Jun 1, 2020
pst9354 commentedon Jun 2, 2020
After upgrading to 4.0.0-b1, I tried to compile the project with:
dart2native bin\main.dart -k aot
error: import of dart:mirrors is not supported in the current Dart runtime
Failed to generate native files:
Generating AOT snapshot failed!
Did I miss something???
dxps commentedon Jun 2, 2020
@pst9354 You're right, Patrik. The current -
4.0.0-b1- version still includesdart:mirrorsin multiple places.@joeconwaystk I am seriously consider investing time and energy on this wonderful framework and try to contribute. Did you mentioned somewhere the strategy to get rid off the
dart:mirrorsdependency?I guess any alternative would be based on code generation before the final build, so indeed at runtime there won't be any dynamic nature of such reflection.
Not sure right now if an alternative such as Reflectable can be considered.
Or simply use source_gen on an Aqueduct own library declared under
dev_dependenciessection of thepubspec.yaml.Oh, and thinking about it, I just found out a recent talk on Code generation with the Dart build system by Kevin Moore. I need to take a look on it.
dxps commentedon Jun 2, 2020
@chrisnorman7 Oh, just for the sake or having things organized, I would close this issue.
@pst9354 I found out the issue where the AOT topic is being "officially" addressed. This is #669 so all of us interested on this topic can talk/watch on it.
chrisnorman7 commentedon Jun 2, 2020
Yeah, sorry, I always forget I have to do that. :)
Downgrade to Dart 2.8.x, override postgres, but still migrations don'…