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

feat: Add support for MongoDB databaseOptions keys autoSelectFamily, autoSelectFamilyAttemptTimeout #9579

Merged
merged 9 commits into from
Jan 30, 2025

Conversation

pocketcolin
Copy link
Contributor

@pocketcolin pocketcolin commented Jan 29, 2025

Pull Request

Issue

Closes: #9578

Approach

As discussed in #9211, the decision was made to maintain a list of valid database options for the Parse config that can be passed to MongoDB. There are many options (46 in total) and this PR adds 2 more that I was using. This approach just follows the same approach used in #9213

Tasks

  • Add tests

Copy link

Thanks for opening this pull request!

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.50%. Comparing base (d1f6d3a) to head (761fc2d).
Report is 2 commits behind head on alpha.

Additional details and impacted files
@@            Coverage Diff             @@
##            alpha    #9579      +/-   ##
==========================================
- Coverage   93.51%   93.50%   -0.02%     
==========================================
  Files         186      186              
  Lines       14809    14809              
==========================================
- Hits        13849    13847       -2     
- Misses        960      962       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mtrezza mtrezza merged commit 5966068 into parse-community:alpha Jan 30, 2025
21 of 23 checks passed
parseplatformorg pushed a commit that referenced this pull request Jan 30, 2025
# [8.0.0-alpha.8](8.0.0-alpha.7...8.0.0-alpha.8) (2025-01-30)

### Features

* Add support for MongoDB `databaseOptions` keys `autoSelectFamily`, `autoSelectFamilyAttemptTimeout` ([#9579](#9579)) ([5966068](5966068))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 8.0.0-alpha.8

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released-alpha Released as alpha version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse needs to allow autoSelectFamily config for the MongoDB Driver
3 participants