Allow useLazyQuery(query, { defaultOptions }) to benefit from defaultOptions.variables and client.defaultOptions.watchQuery.variables merging.
@benjamn in #9762
Commits
a9226c1 Bump @apollo/client npm version to 3.6.6.
1b8449a Merge pull request #9762 from apollographql/fix-useLazyQuery-defaultOptions-m...
3e59b3d Bump bundlesize limit to 29.6kB (now 29.55kB).
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.6.5 to 3.6.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md"><code>@apollo/client</code>'s changelog</a>.</em></p>
<blockquote>
<h2>Apollo Client 3.6.6 (2022-05-26)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Allow <code>useLazyQuery(query, { defaultOptions })</code> to benefit from <code>defaultOptions.variables</code> and <code>client.defaultOptions.watchQuery.variables</code> merging. <!-- raw HTML omitted -->
<a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9762">#9762</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/a9226c153e783a3baca391aff7844fc428992194"><code>a9226c1</code></a> Bump <code>@apollo/client</code> npm version to 3.6.6.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/1b8449a9855e5b8acacf8a4d2bc02246c0799e8d"><code>1b8449a</code></a> Merge pull request <a href="https://github.com/apollographql/apollo-client/issues/9762">#9762</a> from apollographql/fix-useLazyQuery-defaultOptions-m...</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/3e59b3de36398f835d06aa44ba41c12bbe93d750"><code>3e59b3d</code></a> Bump bundlesize limit to 29.6kB (now 29.55kB).</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/dd3eb7a5aa545cac0f31c5f76ae27fac8e7f8cd5"><code>dd3eb7a</code></a> Decompose private InternalState#getObsQueryOptions helper method.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/b0e4bf4d9f8f640beb81083c047904d46c7e8d87"><code>b0e4bf4</code></a> Mention PR <a href="https://github.com/apollographql/apollo-client/issues/9762">#9762</a> in CHANGELOG.md.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/3ea789348c6bda8deac7c2b0d3600128b7cb748c"><code>3ea7893</code></a> Test preservation of global and local default useQuery options.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/ecd6a3f076592c6e9aa3c19090be62403eccb9bb"><code>ecd6a3f</code></a> Let new useQuery variables replace old, but merge defaultOptions.</li>
<li>See full diff in <a href="https://github.com/apollographql/apollo-client/compare/v3.6.5...v3.6.6">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
argoyle
(Migrated from gitlab.com)
merged commit into master2022-06-01 06:57:01 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps @apollo/client from 3.6.5 to 3.6.6.
Changelog
Sourced from
@apollo/client's changelog.Commits
a9226c1Bump@apollo/clientnpm version to 3.6.6.1b8449aMerge pull request #9762 from apollographql/fix-useLazyQuery-defaultOptions-m...3e59b3dBump bundlesize limit to 29.6kB (now 29.55kB).dd3eb7aDecompose private InternalState#getObsQueryOptions helper method.b0e4bf4Mention PR #9762 in CHANGELOG.md.3ea7893Test preservation of global and local default useQuery options.ecd6a3fLet new useQuery variables replace old, but merge defaultOptions.Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts