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
{{ message }}
Repository navigation
Doctrine filters documentation should use QueryParameter #2202
Description
In the Official Documentation, it is mentioned that we should use QueryParameter instead of ApiFilter doctrine-filters. But on this documentation page, there is no example of how QueryParameter is used for adding a filter; instead, every example uses ApiFilter. I found some examples here in laravel-filters, but when I similarly tried to use QueryParameter in my Symfony api, it doesn't work
How to reproduce
Use QueryParameter Attribute instead of ApiFilter and then try to add a query parameter to url and check whether it works. Check the documentation here laravel-filters to check how to use it.
Activity
[-]QueryParameter doesn't work for Symfony[/-][+]Doctrine filters documentation should use QueryParameter[/+]vinceAmstoutz commentedon Sep 15, 2025
@toyib-fayaz Solved, you can found the documentation in the
mainversion and soon in the4.2version of the doc: https://api-platform.com/docs/main/core/doctrine-filters/