-
Matías Olivera authored
* Allow to skip resolvers when reading from cache * Skip resolvers for updateQuery's read operation * Remove unsupported optional chaining * Revert ReadOpts approach * Add OperationType enum * Add currentOperation to data state * Skip resolvers if current operation is not read * Add missing export * Make OperationType a const enum to inline references * Fix brainfart * Use union type instead of enum for OperationType * Document OperationType type * Use "write" for clearDataState operation type * Update initDataState usage in tests * Add test for resolver-skipping behaviour * Add changeset * Update .changeset/dirty-parrots-grin.md Co-authored-by:
Matías Olivera <moliverafreire@gmail.com> Co-authored-by:
Jovi De Croock <decroockjovi@gmail.com> Co-authored-by:
Phil Pluckthun <phil@kitten.sh>