MongoClient readPreferenceTags options parameter
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?
Quoting https://github.com/alcaeus/mongo-php-adapter/pull/290#issuecomment-1030329398:
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.

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