Skip to content

fix(NODE-3585): MongoClientOptions#compressors has incorrect type #2976

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 8, 2021

Conversation

dariakp
Copy link
Contributor

@dariakp dariakp commented Sep 8, 2021

Description

What changed?
compressors now accepts an array of strings in addition to the comma-delimited string as a way of setting the option, in accordance with the documentation; the TS type has also been updated to reflect the valid inputs

@dariakp dariakp requested a review from nbbeeken September 8, 2021 20:48
@nbbeeken nbbeeken merged commit f1b896d into 4.1 Sep 8, 2021
@nbbeeken nbbeeken deleted the NODE-3585/fix-compressor-type branch September 8, 2021 21:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants