@apollo/client 3.7.0-beta.2 → 3.7.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,12 +19,11 @@ The Apollo Client API reference can be found at: <br/>
19
19
  Learn how to use Apollo Client with self-paced hands-on training on Odyssey, Apollo's official learning platform: <br/>
20
20
  [https://odyssey.apollographql.com/](https://odyssey.apollographql.com/)
21
21
 
22
- ## Maintainers
22
+ ## Apollo Maintainers
23
23
 
24
- - [@benjamn](https://github.com/benjamn) (Apollo)
25
- - [@brainkim](https://github.com/brainkim) (Apollo)
26
- - [@jcreighton](https://github.com/jcreighton) (Netflix)
27
- - [@hwillson](https://github.com/hwillson) (Apollo)
24
+ - [@benjamn](https://github.com/benjamn)
25
+ - [@hwillson](https://github.com/hwillson)
26
+ - [@jpvajda](https://github.com/jpvajda)
28
27
 
29
28
  ## Who is Apollo?
30
29
 
package/apollo-client.cjs CHANGED
@@ -1298,7 +1298,7 @@ var concat = ApolloLink.concat;
1298
1298
 
1299
1299
  var execute = ApolloLink.execute;
1300
1300
 
1301
- var version = '3.7.0-beta.2';
1301
+ var version = '3.7.0-beta.5';
1302
1302
 
1303
1303
  var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
1304
1304
  function parseAndCheckHttpResponse(operations) {
@@ -3127,7 +3127,7 @@ function makeFieldFunctionOptions(policies, objectOrReference, fieldSpec, contex
3127
3127
  cache: policies.cache,
3128
3128
  canRead: canRead,
3129
3129
  readField: function () {
3130
- return policies.readField(normalizeReadFieldOptions(arguments, objectOrReference, context), context);
3130
+ return policies.readField(normalizeReadFieldOptions(arguments, objectOrReference, variables), context);
3131
3131
  },
3132
3132
  mergeObjects: makeMergeObjectsFunction(context.store),
3133
3133
  };
@@ -6431,7 +6431,7 @@ var InternalState = (function () {
6431
6431
  if (queryResult)
6432
6432
  return queryResult;
6433
6433
  var data = result.data; result.partial; var resultWithoutPartial = tslib.__rest(result, ["data", "partial"]);
6434
- this.toQueryResultCache.set(result, queryResult = tslib.__assign(tslib.__assign(tslib.__assign({ data: data }, resultWithoutPartial), this.obsQueryFields), { client: this.client, observable: this.observable, variables: this.observable.variables, called: true, previousData: this.previousData }));
6434
+ this.toQueryResultCache.set(result, queryResult = tslib.__assign(tslib.__assign(tslib.__assign({ data: data }, resultWithoutPartial), this.obsQueryFields), { client: this.client, observable: this.observable, variables: this.observable.variables, called: !this.queryHookOptions.skip, previousData: this.previousData }));
6435
6435
  if (!queryResult.error && isNonEmptyArray(result.errors)) {
6436
6436
  queryResult.error = new ApolloError({ graphQLErrors: result.errors });
6437
6437
  }