GoogleCloudPlatform / GoogleCloudPlatform/spring-cloud-gcp
Allow user-supplied filters in FirestoreTemplate
Open
firestore
priority: p3
team-starter-bug
type: enhancement
- Dominant language
- Java
- Stars
- 551
- Forks
- 349
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
It would be nice to have method `FirestoreTemplate.findAllDocuments` as protected, so it could be overridden in a custom FirestoreTemplate class.
The use case could be if you need to apply the same filtering condition to all queries, e.g. by attributes 'active', 'deleted', 'tenantId' etc.
At the moment this method is private, so the only way to intervene is to use AspectJ, which does not look like a good solution.
Contributor guide
Assessment
This issue has not been assessed yet.