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

MongoClient readPreferenceTags options parameter #298

Open
MarioCuljak opened this issue May 25, 2023 · 2 comments
Open

MongoClient readPreferenceTags options parameter #298

MarioCuljak opened this issue May 25, 2023 · 2 comments

Comments

@MarioCuljak
Copy link

Hi,
looks like when passing readPreferenceTags as $option parameter to MongoClient is interpreted as string of comma separated values. According to mongoclient.construct it should be array of strings.

Is it possible to support array format for readPreferenceTags?

@alcaeus
Copy link
Owner

alcaeus commented May 26, 2023

Quoting #290 (comment):

1.2.2 is the last planned release for this library, and I will only accept fixes for critical bugs (those causing security issues or data loss) from this point onwards.

If you are able to produce a pull request that includes a test for this, I can consider merging it if CI is stable. However, main suggestion would be to realise that the driver API you're relying on hasn't been updated in almost 6 years and was designed with compatibility for MongoDB 3.4. It's dead, Jim.

It's dead, Jim

@MarioCuljak
Copy link
Author

Thanks for feedback, I'll try to make PR in following days.

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

No branches or pull requests

2 participants