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

MongoDBRepository not working in .NET 9 with MongoDB.Driver (3.0.0) #21491

Open
1 task done
marosfilipko opened this issue Nov 29, 2024 · 3 comments · May be fixed by #21807
Open
1 task done

MongoDBRepository not working in .NET 9 with MongoDB.Driver (3.0.0) #21491

marosfilipko opened this issue Nov 29, 2024 · 3 comments · May be fixed by #21807

Comments

@marosfilipko
Copy link

marosfilipko commented Nov 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

I cannot use repository for Mongo DB because there is used interface IMongoQueryable. The intreface was removed in MongoDB.Driver version 3.0.0.

image image

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

9.0.0

User Interface

Common (Default)

Database Provider

MongoDB

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

@marosfilipko marosfilipko changed the title MongoDBRepository not working in .NET 9 MongoDBRepository not working in .NET 9 with MongoDB.Driver (3.0.0) Nov 29, 2024
@maliming
Copy link
Member

maliming commented Dec 2, 2024

hi

You can add <PackageReference Include="MongoDB.Driver" Version="2.30.0" /> to your project.

@pkfms
Copy link

pkfms commented Dec 30, 2024

Hi @maliming , will you update abp to the mongodb driver 3.0 now that it's released as stable https://www.mongodb.com/docs/drivers/csharp/current/upgrade/v3/#std-label-csharp-upgrade-v3

@maliming maliming removed the bug label Dec 30, 2024
@maliming
Copy link
Member

maliming commented Dec 30, 2024

hi

If it doesn't break the application, We will upgrade it.

@maliming maliming added this to the 9.2-preview milestone Dec 30, 2024
@maliming maliming self-assigned this Dec 30, 2024
@maliming maliming linked a pull request Jan 3, 2025 that will close this issue
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.

3 participants