-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
Support subresource resourceClass resolving #3556
Support subresource resourceClass resolving #3556
Conversation
Failed tests seem unrelated? |
Hello @esserj, thanks for this PR. It seems weird the Behat tests are failing and may be related to your PR. |
@alanpoulain I checked out origin/master and its the same problem, Seems the taxons route has somehow been renamed to taxa causing related tests to fail |
and BTW taxa is the plural form of taxon |
This issue is done due to the Doctrine/Inflector update v1.4. As mentioned by @esserj it is a fix for this pluralization, so either test should be adjusted or custom rule should be added |
It has been fixed on master. Please make a rebase. Also it's a good thing to allow edit from maintainers 🙂 |
9e4cdfc
to
78c8b0e
Compare
Done |
Thank you @esserj! |
This PR will allow you to define
subresource.resourceClass
as a parameter of the container.The extractors have support for resolving class names through container defined parameters, but the subResource class did not have support for this, which kind of makes the use of parameters as a flexibility measure a little less useful when you want to use subResources.