You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2022. It is now read-only.
Denormalizes an input based on schema and provided entities. The reverse of `normalize`.
46
+
Denormalizes an input based on schema and provided entities from a plain object or Immutable data. The reverse of `normalize`.
47
47
48
48
*Special Note:* Be careful with denormalization. Prematurely reverting your data to large, nested objects could cause performance impacts in React (and other) applications.
49
49
50
+
If your schema and data have recursive references, only the first instance of an entity will be given. Subsequent references will be returned as the `id` provided.
51
+
50
52
*`input`: **required** The normalized result that should be *de-normalized*. Usually the same value that was given in the `result` key of the output of `normalize`.
51
53
*`schema`: **required** A schema definition that was used to get the value for `input`.
52
-
*`entities`: **required** An object, keyed by entity schema names that may appear in the denormalized output.
54
+
*`entities`: **required** An object, keyed by entity schema names that may appear in the denormalized output. Also accepts an object with Immutable data.
0 commit comments