You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\MonterHealth\ApiFilterBundle\MonterHealthApiFilter::applyFilterResults does not deal correctly properties annotated with \Doctrine\ORM\Mapping\Embedded
#6
Open
ste80pa opened this issue
Dec 26, 2021
· 3 comments
ste80pa
changed the title
\MonterHealth\ApiFilterBundle\MonterHealthApiFilter::applyFilterResults does not deal correctly poperties annotated with \Doctrine\ORM\Mapping\Embedded
\MonterHealth\ApiFilterBundle\MonterHealthApiFilter::applyFilterResults does not deal correctly properties annotated with \Doctrine\ORM\Mapping\Embedded
Dec 27, 2021
Doctrine has a cool feature for separating concerns called Embeddables
take in example the scenario described at https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/tutorials/embeddables.html and add a cotroller to retrieve users by api
now after everything it is in place we invoke the api and what we expect it i to obtain users filtered by address.city = "Rome"
what happens in reality it is that the filter it is simply ignored or confused with a join.
After some debug i wrote a solution that i will submit soon
The text was updated successfully, but these errors were encountered: