Skip to content

Commit

Permalink
Correct usage of word "entities" in documentation (paularmstrong#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverJAsh authored and ntucker committed Sep 2, 2019
1 parent 8d03c8c commit 05ac83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const denormalizedData = denormalize({ users: [1, 2] }, mySchema, entities);

### `Array(definition, schemaAttribute)`

Creates a schema to normalize an array of entities. If the input value is an `Object` instead of an `Array`, the normalized result will be an `Array` of the `Object`'s values.
Creates a schema to normalize an array of schemas. If the input value is an `Object` instead of an `Array`, the normalized result will be an `Array` of the `Object`'s values.

_Note: The same behavior can be defined with shorthand syntax: `[ mySchema ]`_

Expand Down

0 comments on commit 05ac83c

Please sign in to comment.