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

Filter by Id #589

Merged
merged 2 commits into from May 10, 2021
Merged

Filter by Id #589

merged 2 commits into from May 10, 2021

Conversation

franmomu
Copy link
Member

Subject

When trying to filter by id, it does not work for mongodb since it should query using ObjectId instead of string. This PR adds a new IdFilter to be able to do that.

I am targeting this branch, because this is BC.

Changelog

### Added
- Added `IdFilter` to be able to filter by id in lists

@franmomu franmomu added the minor label May 10, 2021
@franmomu franmomu requested a review from a team May 10, 2021 12:18
@VincentLanglet VincentLanglet requested a review from a team May 10, 2021 12:20
@franmomu franmomu merged commit 1fcd908 into sonata-project:3.x May 10, 2021
@franmomu franmomu deleted the filter_mongo_id branch May 10, 2021 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants