• Matías Olivera's avatar
    (graphcache) - Skip resolvers when writing to the cache (#812) · d1e186a4
    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: 's avatarMatías Olivera <moliverafreire@gmail.com>
    Co-authored-by: 's avatarJovi De Croock <decroockjovi@gmail.com>
    Co-authored-by: 's avatarPhil Pluckthun <phil@kitten.sh>
    d1e186a4