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

Public (API) controller services for FOSRest #1689

Conversation

jeroendk
Copy link

@jeroendk jeroendk commented Feb 7, 2020

Because I am not able to move forward on #1654, I submit this separate pull request to fix the bug in the service definition. I Hope we can merge this one without adding functional tests.


For the route loader in the FOSRestBundle a (service) resource defined in a route needs to be public.
Otherwise, their route loader can't load the service.

I am targeting this branch because this is a bugfix and backwards compatible.

Closes #1652

### Fixed
API routes config, made them public for the FOSRest routeloader.

@franmomu
Copy link
Member

franmomu commented Feb 7, 2020

Hi @jeroendk, I submitted a PR to your repo some time ago jeroendk#1 fixing the tests

@jeroendk
Copy link
Author

jeroendk commented Feb 7, 2020

@franmomu Wow sorry, did not see that!

@jeroendk jeroendk closed this Feb 7, 2020
@franmomu
Copy link
Member

franmomu commented Feb 7, 2020

@franmomu Wow sorry, did not see that!

no worries!

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

Successfully merging this pull request may close these issues.

API controllers can't be loaded by FOSRest because the services are marked private
2 participants