mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2239: Allow dynamic modification of select queries (either filter the AST or query) #2815
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 11, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user gnat:
I had built and used the following for doctrine 1: http://web.archive.org/web/20110705035547/http://www.doctrine-project.org/projects/orm/1.2/docs/cookbook/record-based-retrieval-security-template/en#record-based-retrieval-security-template
I'd like to build something similar for D2 based projects.
ocramius in IRC suggested a bug report/Improvement request. Figured that perhaps a custom event "dql_parse" or "ast_render" passing the AST or Query as a parameter.
I'm under a tight timeline and am willing to pay for aid/feature implementation.
@mpdude commented on GitHub (Jun 30, 2023):
We have that, n‘est-ce pas?
@greg0ire commented on GitHub (Jul 1, 2023):
Je sais pas…
Do you mean this: https://www.doctrine-project.org/projects/doctrine-orm/en/stable/reference/filters.html ?
Or maybe this: https://www.doctrine-project.org/projects/doctrine-orm/en/stable/cookbook/dql-custom-walkers.html
Let's hope it's not too tight 🤞
@mpdude commented on GitHub (Jul 1, 2023):
Yes, exactly those two features
@greg0ire commented on GitHub (Jul 1, 2023):
One less issue, 1120 to go! 💪
@mpdude commented on GitHub (Jul 1, 2023):
💪🏻