Skip to content

MONGOID-5399 / 5400 / 5148: Mongoid::Criteria #map should take a splat of field args + yield args to block #5346

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

Conversation

johnnyshields
Copy link
Contributor

@johnnyshields johnnyshields commented Jun 25, 2022

This PR requires the changes for #pluck_each in PR #5332


Fixes the following issues. I will split this into separate PRs after the above PR is merged.

  • MONGOID-5399: Criteria#map should take a splat of field args
  • MONGOID-5400: Criteria#map should yield its field args to the block
  • MONGOID-5148: Add missing #map to Contextual::Memory and None

- MONGOID-5399: Contextual #map should take a splat of field args
@johnnyshields johnnyshields changed the title MONGOID-5399: Contextual #map should take a splat of field args MONGOID-5399: Mongoid::Criteria #map should take a splat of field args Jun 25, 2022
@johnnyshields johnnyshields marked this pull request as draft June 25, 2022 16:28
@johnnyshields johnnyshields changed the title MONGOID-5399: Mongoid::Criteria #map should take a splat of field args MONGOID-5399 / 5400 / 5148: Mongoid::Criteria #map should take a splat of field args + yield args to block Jun 26, 2022
@johnnyshields
Copy link
Contributor Author

Closed due to MONGOID-5426

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.

1 participant