-
Notifications
You must be signed in to change notification settings - Fork 138
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
net6.0, Ambiguous reference: System.Collections.Generic.IAsyncEnumerable #633
Comments
Adding an explicit reference to version 4.4.0 seems to resolve the issue ( |
thank you for raising this issue, we'll take a look |
Any updates on it? |
not at this point, but if anything will be available I'll post it here |
thank you all for the patience here, fix is merged in #712 and will be part of the next upcoming release in July |
PR is released as part of the latest Snowflake .NET driver version 2.1.0. Closing this issue. |
I just lost around 2h of investigation time because of this insane dependency with Google.Cloud which in turn ends up depending on Why on earth does this library depend on a Google.Cloud package in the first place? |
@sfc-gh-dszmolka I realized why the dependency was there after cloning this repo and attempting to remove it. At first, I thought it was only being used indirectly to get to the Google Auth API, but no... the direct references are there. I'm really glad you at least seem open to the idea of a redesign here where these external cloud dependencies would be moved into specialized packages that people can add depending on their use case. We are in a very particular situation in terms of framework versions and library dependencies in our project and we (currently) cannot easily migrate away from v2.x of this library. V2 depends on this older version of the Google stuff, which depends on Hopefully this library will become less coupled in the future and we will be able to migrate to a modern release. I appreciate your reaction to my harsh comment before. Even though I was really pissed off after finally finding a solution to the issue, I apologize for the unnecessary tone there. |
Snowflake.Data 2.0.22
Windows 10 (development), containerized Linux (runtime)
net6.0
I want to use
IAsyncEnumerable<>
in my program but getting compiler error.No compiler error 🤷
I'm getting compiler error when trying to declare method like this in my program:
This is apparently caused by dependency chain:
[email protected]
[email protected]
[email protected]
[email protected]
Dependency on
Google.Cloud.Storage.V1
has been added in[email protected]
, ~year ago.Related issue: #623.
Would it be possible to (and/or):
Google.Cloud.Storage.V1
Snowflake.Data.Azure
,Snowflake.Data.Aws
,Snowflake.Data.Gcp
, ... I'm not sure whether all three are needed at same time)I just stumbled on this issue while maintaining one of our older projects. I can't really tell what impact bumping up dependency will have, not to mention impact on other older framework versions. Unfortunately I won't be able to submit PR nor investigate further myself.
The text was updated successfully, but these errors were encountered: