Skip to content

fix: Upgrade mongo internal and memory handling to Mong driver V2#1444

Open
zamedic wants to merge 1 commit intotmc:mainfrom
zamedic:mongov2
Open

fix: Upgrade mongo internal and memory handling to Mong driver V2#1444
zamedic wants to merge 1 commit intotmc:mainfrom
zamedic:mongov2

Conversation

@zamedic
Copy link
Copy Markdown

@zamedic zamedic commented Dec 15, 2025

Introduced a new option to allow users to inject a custom MongoDB client (WithDataBaseClient). Updated existing logic to handle cases where a client is provided instead of generating a new one. Modified imports to use the updated v2 MongoDB driver package.

Fixes: #1443

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

Introduced a new option to allow users to inject a custom MongoDB client (`WithDataBaseClient`). Updated existing logic to handle cases where a client is provided instead of generating a new one. Modified imports to use the updated `v2` MongoDB driver package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade the Mongo internal client and Mongo Chat history to Mongo driver V2

1 participant