-
-
Notifications
You must be signed in to change notification settings - Fork 949
Generate iri for child related resources #2905
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
Conversation
|
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 |
|
Could you add a regression test? |
Yes please. 😄 |
bf24bcb to
12470f2
Compare
|
@teohhanhui something like that? |
|
But hmm... I think we should have a Behat functional test for this. |
|
@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. 😄 |
|
not at all, and it seems that I already allowed maintainers. |
|
@bastnic Okay, maybe it's a bug with the code suggestions feature of GitHub. 😄 |
12470f2 to
fb86294
Compare
|
thanks @bastnic @teohhanhui ! |
|
Thanks @teohhanhui and @soyuka 👍 |
For child relations, iri is not set and it breaks varnish cache invalidation. See api-platform/api-platform#1159 for tests samples