Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass lid from relationship data to get record data
The issue appeared in a sideposting scenario: - model A has has many relationship to model B. - instance of model A and instance of model B are created on the client, - model A is saved along with model B sent in `include` section of payload; the linking is done through `lid` - server persisted both models and sent the esponse wih server-generated `id` along with `lid` sent by the client. - when hasMany.updateData() was called while the response payload was pushed to the store it couldn't match the record which was already in the store with the record data contained in the relationship data because `lid` was omitted.
- Loading branch information