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

fix mongoid8 #696

Merged
merged 1 commit into from Nov 28, 2023
Merged

fix mongoid8 #696

merged 1 commit into from Nov 28, 2023

Conversation

yads
Copy link
Contributor

@yads yads commented Nov 28, 2023

fixes #689

* make `first` and `last` signatures compatible with mongoid 8 see https://www.mongodb.com/docs/mongoid/current/release-notes/mongoid-8.0/#-id_sort-option-on--first-last-removed
* `first` and `last` only take a limit value rather than an option set
@flyerhzm flyerhzm merged commit e48c6c8 into flyerhzm:main Nov 28, 2023
10 checks passed
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.

Breaks with mongoid 8
2 participants