Changelog
v3.2.0
get idAttribute()
to schema.Entity
(gh-226)denormalize
(gh-232)denormalize
(gh-220)Changelog
v3.1.0
denormalize
. (gh-214)Array
, Union
, Values
) have a matching schema definition. (gh-208)"main"
property in package.json points to babel-converted files.Changelog
v3.0.0
The entire normalizr package has been rewritten from v2.x for this version. Please refer to the documentation for all changes.
schema.Entity
processStrategy
for modifying Entity
objects before they're moved to the entities
stack.mergeStrategy
for merging with multiple entities with the same ID.schema.Object
, with a shorthand of {}
schema.Array
, with a shorthand of [ schema ]
Schema
has been moved to a schema
namespace, available at schema.Entity
arrayOf
has been replaced by schema.Array
or []
unionOf
has been replaced by schema.Union
valuesOf
has been replaced by schema.Values
normalize
no longer accepts an optional options
argument. All options are assigned at the schema level.defaults
as an option. Use a custom processStrategy
option to apply defaults as needed.assignEntity
has been replaced by processStrategy
meta
option. See processStrategy