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
Description
If you introspect the API Platform data and look at the Filter Params, there is a property "isRequired". It is always false no matter what I do with the API Platform configuration.
The FilterGuesser seems to want to evaluate that property to determine whether a filter should be "alwaysOn"... but I can't find any way tot set it.
How to reproduce
Create a Doctrine Entity with a SearchFilter configured.
In RA, introspect the API with something like this:
API Platform version(s) affected: 4.0.3
Description
If you introspect the API Platform data and look at the Filter Params, there is a property "isRequired". It is always false no matter what I do with the API Platform configuration.
The FilterGuesser seems to want to evaluate that property to determine whether a filter should be "alwaysOn"... but I can't find any way tot set it.
How to reproduce
Create a Doctrine Entity with a SearchFilter configured.
In RA, introspect the API with something like this:
Notice in the console the Filter Params have an isRequired property set to false.
There are no docs about how to set it to true and various things I've tried with ApiProperty aren't working.
The text was updated successfully, but these errors were encountered: