Skip to content
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

Update MongoDb.Driver to >2.28.0 to support Strong-Named assemblies #7306

Closed
Droxx opened this issue Jul 25, 2024 · 0 comments · Fixed by #7307
Closed

Update MongoDb.Driver to >2.28.0 to support Strong-Named assemblies #7306

Droxx opened this issue Jul 25, 2024 · 0 comments · Fixed by #7307

Comments

@Droxx
Copy link
Contributor

Droxx commented Jul 25, 2024

Product

Hot Chocolate

Is your feature request related to a problem?

In the MongoDb.Driver package from 2.28.0 onwards. They have introduced Strong-Named assemblies.

One of our dependencies has updated to this version. And this is now causing errors in our solution due to a version mis-match.

This version issue is causing errors during build as below:

The type 'IMongoCollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'MongoDB.Driver, Version=2.24.0.0, Culture=neutral, PublicKeyToken=null'.
The type 'IAggregateFluent<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'MongoDB.Driver, Version=2.24.0.0, Culture=neutral, PublicKeyToken=null'.
The type 'IFindFluent<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'MongoDB.Driver, Version=2.24.0.0, Culture=neutral, PublicKeyToken=null'.

The solution you'd like

Could we see the MongoDb.Driver dependency in HotChocolate increased to version 2.28.0. In both stable and pre-release solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants