Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataProvider question #30

Open
shaneiseminger opened this issue Apr 19, 2022 · 0 comments
Open

DataProvider question #30

shaneiseminger opened this issue Apr 19, 2022 · 0 comments

Comments

@shaneiseminger
Copy link

This seems like a well-developed implementation, so I've been following it for a current project. However, I've run into an issue I'm wondering if you can shed some light on.

I'm trying to implement and endpoint that uses classes patterned after those in theAcme\Application\UseCase\Query\User\GetUsers namespace. The problem I've found is that Acme\Infrastructure\Bridge\ApiPlatform\DataProvider\CollectionQueryDataProvider never returns true in the supports() method because when it's instantiated, the third $dataTransformers argument does not get passed at all.

Am I missing a Symfony configuration or something that would make the class have the $dataTransformers array included as the third argument to the constructor during instantiation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant