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

inverse link payload is overriden when new data payload is pushed #5219

Closed
sly7-7 opened this issue Oct 10, 2017 · 4 comments
Closed

inverse link payload is overriden when new data payload is pushed #5219

sly7-7 opened this issue Oct 10, 2017 · 4 comments

Comments

@sly7-7
Copy link
Contributor

sly7-7 commented Oct 10, 2017

I find myself in a use case where a link hasMany relationship was not loaded (ie the link was not called. I've finally found the root cause, and wondered if it is expected.
In this line, the payload is totally overriden instead of merged if it existed before (which can be the case if it was a link).

inverseIdToPayloads[inverseId] = {

cc/ @hjdivad

@urbany
Copy link

urbany commented Oct 14, 2017

Can you provide an example? I didn't understand the scenario.

@ppcano
Copy link
Contributor

ppcano commented Oct 19, 2017

@sly7-7 Based on your description, #5235 may be the same case.

@sly7-7
Copy link
Contributor Author

sly7-7 commented Oct 23, 2017

@ppcano Thank you, your test is indeed the same use case. I'm closing this one.

@BryanCrotaz
Copy link
Contributor

Fixed in #5257

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

No branches or pull requests

4 participants