The docs hint that dataIdFromObject
“might be removed in a future version of @apollo/client
”. I was wondering whether this is something the team is committed to killing, or maybe they’re just mulling it over?
For context, it seems to me that applications using postgraphile might as well make use of their nodeId
-based implementation of the Relay Global Object Identification Specification to generate cache-keys. So removing the dataIdFromObject
API feature would be pain.
Or is there a good reason to prefer using the new typePolicies
and keyFields
API anyway?
Thanks gang!