Skip to content

Allow subresource items in the iri converter #1927

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

Merged
merged 1 commit into from
May 3, 2018

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented May 2, 2018

#1877

Had to rewrite copy/paste the code 😄

This needs a PR after the merge on master though, some things have been improved.

@@ -58,6 +58,7 @@
<argument type="service" id="api_platform.router" />
<argument type="service" id="api_platform.property_accessor" />
<argument type="service" id="api_platform.identifiers_extractor.cached" />
<argument type="service" id="api_platform.subresource_data_provider" oninvalid="ignore" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on-invalid 😛

@soyuka soyuka force-pushed the allow-subresource-iri-bis branch 3 times, most recently from d6a6157 to 52e9098 Compare May 3, 2018 08:43
@soyuka
Copy link
Member Author

soyuka commented May 3, 2018

Coverage lines missing are the one where subresourceDataProvider is null and we're still calling getSubresource. I guess that's fine?

Guess what I like coverage.

@soyuka soyuka force-pushed the allow-subresource-iri-bis branch from 52e9098 to 6d40a8c Compare May 3, 2018 09:30
@soyuka soyuka merged commit c99a148 into api-platform:2.2 May 3, 2018
@soyuka soyuka deleted the allow-subresource-iri-bis branch May 3, 2018 09:48
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.

2 participants