Add an index option that lives alongside store that, similar to store, allows one to select which fields are indexed.
By default, index is all keys returned by normalizer.
This effectively turns normalizer into a data normalizer where content can be selected. This allows someone to keep data in the store, but not indexed, if such data is only used for presentation.
Add an
index
option that lives alongsidestore
that, similar tostore
, allows one to select which fields are indexed.By default,
index
is all keys returned bynormalizer
.This effectively turns
normalizer
into a data normalizer where content can be selected. This allows someone to keep data in the store, but not indexed, if such data is only used for presentation.