fix(hydra): hide search key when there is parameter without filter#7773
fix(hydra): hide search key when there is parameter without filter#7773soyuka merged 2 commits intoapi-platform:4.2from
Conversation
effc08a to
cb4ccd9
Compare
|
Seems like you added a test #7293 which check the opposite of what I'm trying to do in this PR @soyuka. To me there is no need to add if there is no parameter nor mapping to describe in the search. Do you see it differently ? |
|
indeed I don't think its mandatory okay to change my test! |
Done, is 4.2 the right target or the next release will be 4.3 ? |
|
perfect thanks! 4.3 will be out in 2-3 weeks for now we stick with 4.2 |
Thanks. The same parameter also generates me in the response when used. Even if it's not a real "PartialCollectionView". I also discovered that calling any url with a non-existing query param like Is it expected ? Is |
|
Yes this is correct |
When a custom query parameter is added in the parameter list like
for instance in order to add dynamically normalizationContext group, ApiPlatform is generating
which is pretty useless since there is no key with the
{?}.