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

MONGOID-5830 Client name may be a proc #5906

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Nov 25, 2024

Previously, it was possible to provide the client as a proc (returning the name of the client to use). This broke in Mongoid 9.

This PR adds a call to __evaluate__ the client name to ensure that if it is a proc it is properly handled.

@jamis jamis requested a review from comandeo-mongo November 25, 2024 20:59
@jamis jamis merged commit cd52576 into mongodb:master Nov 27, 2024
65 of 67 checks passed
@jamis jamis deleted the 5830-client-as-proc branch November 27, 2024 14:57
jamis added a commit to jamis/mongoid that referenced this pull request Nov 27, 2024
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.

2 participants