NerdWalletOSS / apollo-cache-policies

An extension of the Apollo 3 cache with support for advanced cache policies.
Apache License 2.0
152 stars 22 forks source link

add support for reactive filter changes in useFragmentWhere #62

Closed danReynolds closed 1 year ago

danReynolds commented 1 year ago

Currently the filter passed to useFragmentWhere is static. If you change the values passed in the filter, it has no effect. This is non-intuitive and makes the feature less powerful. The filter arguments are now able to be updated dynamically to re-trigger computation of the query.