·
9 commits
to master
since this release
Patch Changes
-
#3417
a6af54c
Thanks @ntucker! - Update getOptimisticResponse snapshot types to include getResponseMeta -
#3407
d84899d
Thanks @ntucker! - Support dynamic invalidation/deletesReturning
undefined
from Entity.process
will cause the Entity to be invalidated.
This this allows us to invalidate dynamically; based on the particular response data.class PriceLevel extends Entity { price = 0; amount = 0; pk() { return this.price; } static process( input: [number, number], parent: any, key: string | undefined, ): any { const [price, amount] = input; if (amount === 0) return undefined; return { price, amount }; } }
-
Updated dependencies [
a6af54c
,d84899d
]:- @data-client/[email protected]