spring-data-mongodb
spring-data-mongodb copied to clipboard
fix: Shard key not honored in ReferenceLookupDelegate when DocumentReference resolves to an empty collection
Fixes #4612
- [x] You have read the Spring Data contribution guidelines.
- [ ] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
- [x] You submit test cases (unit or integration tests) that back your changes.
- [x] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).
@stefanbildl Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@stefanbildl Thank you for signing the Contributor License Agreement!
Thank you for your contribution. That's merged, polished, and backported now.
Thank you!