[PR #8393] Added getHash method in SQLFilter to avoid caching the filtered queries #10963

Open
opened 2026-01-22 16:09:14 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/8393

State: closed
Merged: No


I introduced a new final method getHash on SQLFilter that generates a hash based on the called class name and all the parameters. Also the FilterCollection::getHash() was modified to use the getHash method from SQLFilter.

This is implemented acording to @beberlei's recomandation see the discussion bellow.

https://github.com/doctrine/orm/issues/3955#issuecomment-593161750

**Original Pull Request:** https://github.com/doctrine/orm/pull/8393 **State:** closed **Merged:** No --- I introduced a new final method getHash on SQLFilter that generates a hash based on the called class name and all the parameters. Also the FilterCollection::getHash() was modified to use the getHash method from SQLFilter. This is implemented acording to @beberlei's recomandation see the discussion bellow. https://github.com/doctrine/orm/issues/3955#issuecomment-593161750
admin added the pull-request label 2026-01-22 16:09:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10963