Antoine Bluchet

Results 662 comments of Antoine Bluchet

maybe `input: false`, I know that the symfony JSON Encoder doesn't support an empty body but `deserialize: false` should definitely work especially with api platform 3.2.

Thanks for your investigation @mxmp210 ! Could you open a PR for this?

The ApiFilter annotation is only used to declare filters represented by the given filter class. Indeed, most of our filters are tight to doctrine (SearchFilter, OrderFilter etc) because they impact...

@sujayjaju please open a new issue with a full reproducer

It looks like our Security listener is hit before the validation so I don't really understand. Can you check if we go through https://github.com/api-platform/core/blob/main/src/Symfony/EventListener/DenyAccessListener.php#L39 before validation?

Hi, Elasticsearch support is still experimental but we do [have a test](https://github.com/api-platform/core/blob/master/features/elasticsearch/match_filter.feature#L120) for this use case... I'm not sure how to help you further..

would it work to specify the operation you want to use to compute the IRI? something like: ``` #[GetCollection(itemUriTemplate: '/substitutes/{id}') ``` https://github.com/api-platform/api-platform/issues/2422

what about https://github.com/http-tests/cache-tests/pull/112 ? If it works I'm :+1: on merging this, @dunglas ?

this looks nice, can you target 3.1? We should add a test somehow