-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Per the docs right now:
AllProducts: {
// Singleton types that have no identifying field can use an empty
// array for their keyFields.
keyFields: [],
},
Store: {
// If you need to disable normalization, set the keyFields to false
// and the object will be embedded in the parent
keyFields: false,
},
these two cases make sense mechanically, but they're kind of hard to remember. I end up looking at that page somewhat frequently just to make sure I'm picking the right behavior.
I think it'd be nice if these two cases could be something like keyFields: "singleton"
and keyFields: "no-normalize"
or something like that so that it's easier to remember what they're doing.
Metadata
Metadata
Assignees
Labels
No labels