Hein

Results 6 comments of Hein

I've encountered the same problem with the date filter. I was trying to between dates in a subresource. This resulted in the resource being filtered but all subresources where returned....

You can also take a look at my solution by fixing it in the filter. This is where to issue starts because the 'where' part gets removed from the main...

No I just replaced it with a copy. like this: ` api_platform.doctrine.orm.query_extension.filter_eager_loading: class: App\ApiPlatform\FilterEagerLoadingExtension` `App\ApiPlatform\FilterEagerLoadingExtension: tags: - { name: api_platform.doctrine.orm.query_extension.filter } - { name: api_platform.doctrine.orm.query_extension.filter_eager_loading }`

@bastoune I get that. However, this issue came from a bug introduced in the FilterEagerLoadingExtension. It is mentioned on the original issue [944](https://github.com/api-platform/core/issues/944) . I think my solution does fix...

I also experience a similar problem with the doctrine configuration when I add an extra entity manager. After the update te symfony/dependency-injection 5.4.17 I get this error: `It's a requirement...

@cs278 Ah sorry, I looked at @julienfastre comment and that seems to be the same problem and I also could get my issue sort of fixed with his fix.