Skip to content

Conversation

@bastnic
Copy link
Contributor

@bastnic bastnic commented Jul 4, 2019

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets api-platform/api-platform#1159
License MIT
Doc PR N/A

For child relations, iri is not set and it breaks varnish cache invalidation. See api-platform/api-platform#1159 for tests samples

@bastnic bastnic changed the base branch from master to 2.4 July 4, 2019 15:28
@bastnic
Copy link
Contributor Author

bastnic commented Jul 4, 2019

I do not have the issue, but I suppose we should also unset it for the iterator case https://github.com/api-platform/core/pull/2905/files#diff-3e45e8e6ce08f8a7cbbbda1601d5ff29R535

@teohhanhui
Copy link
Contributor

Could you add a regression test?

@teohhanhui teohhanhui self-assigned this Jul 4, 2019
@teohhanhui
Copy link
Contributor

I suppose we should also unset it for the iterator case

Yes please. 😄

@bastnic bastnic force-pushed the feature/fix-child-iri branch from bf24bcb to 12470f2 Compare July 4, 2019 20:19
@bastnic
Copy link
Contributor Author

bastnic commented Jul 4, 2019

@teohhanhui something like that?

@teohhanhui
Copy link
Contributor

But hmm... I think we should have a Behat functional test for this.

@teohhanhui
Copy link
Contributor

teohhanhui commented Jul 19, 2019

@bastnic Do you mind allowing access to your branch? https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork

Never mind, I'll take your commit and open another PR. 😄

@bastnic
Copy link
Contributor Author

bastnic commented Jul 19, 2019

not at all, and it seems that I already allowed maintainers.

@teohhanhui
Copy link
Contributor

@bastnic Okay, maybe it's a bug with the code suggestions feature of GitHub. 😄

@teohhanhui teohhanhui force-pushed the feature/fix-child-iri branch from 12470f2 to fb86294 Compare July 19, 2019 12:02
@teohhanhui teohhanhui requested review from dunglas and soyuka July 19, 2019 12:40
@soyuka soyuka merged commit 269b052 into api-platform:2.4 Jul 19, 2019
@soyuka
Copy link
Member

soyuka commented Jul 19, 2019

thanks @bastnic @teohhanhui !

@bastnic
Copy link
Contributor Author

bastnic commented Jul 19, 2019

Thanks @teohhanhui and @soyuka 👍

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.

3 participants