You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

apollo-invalidation-policies

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-invalidation-policies - npm Package Compare versions

Comparing version

to
1.0.0-beta8

3

CHANGELOG.md

@@ -0,2 +1,5 @@

1.0.0-beta8 (Dan Reynolds)
- Add test for Write-on-Write policies where the mutation has arguments and fix the Readme to illustrate how to correctly write the invalidation policy in that case
1.0.0-beta7 (Dan Reynolds)

@@ -3,0 +6,0 @@

2

package.json
{
"name": "apollo-invalidation-policies",
"version": "1.0.0-beta7",
"version": "1.0.0-beta8",
"description": "An extension to the InMemoryCache from Apollo for type-based invalidation policies.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -110,3 +110,7 @@ ![Build](https://github.com/NerdWalletOSS/apollo-invalidation-policies/workflows/Build/badge.svg)

[storeFieldName]: (employeesResponse) => {
const createdEmployeeResponse = readField(parent.storeFieldName, parent.ref);
const createdEmployeeResponse = readField({
fieldName: parent.fieldName,
args: parent.variables,
ref: parent.ref,
});
return {

@@ -113,0 +117,0 @@ ...employeesResponse,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet