Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

Give assignEntity access to the original input object #72

Merged
merged 1 commit into from
Mar 24, 2016
Merged

Give assignEntity access to the original input object #72

merged 1 commit into from
Mar 24, 2016

Conversation

paularmstrong
Copy link
Owner

Problem

When using assignEntity, we need to build values based on information from multiple keys/entities in the original input to normalize.

Why do this here? When reading from a state happens more often than writing, it's much better to have this done once on receipt than every time it's accessed.

Solution

Change assignEntity to be given a fourth argument, the value of the original, non-normalized object.

Resolves #64

@ms88privat
Copy link

@gaearon will this be merged?

@paularmstrong paularmstrong merged commit a0931d7 into paularmstrong:master Mar 24, 2016
@lock
Copy link

lock bot commented May 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the Outdated label May 7, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants