#10502315faf9ca Thanks @jerelmiller! - Log a warning to the console when a mock passed to MockedProvider or MockLink cannot be matched to a query during a test. This makes it easier to debug user errors in the mock setup, such as typos, especially if the query under test is using an errorPolicy set to ignore, which makes it difficult to know that a match did not occur.
#104999e54f5dfa Thanks @phryneas! - Allow the execution function returned by useLazyQuery to change the query.
#1036214a56b105 Thanks @mccraveiro! - Fix error when server returns an error and we are also querying for a local field
#10502315faf9ca Thanks @jerelmiller! - Log a warning to the console when a mock passed to MockedProvider or MockLink cannot be matched to a query during a test. This makes it easier to debug user errors in the mock setup, such as typos, especially if the query under test is using an errorPolicy set to ignore, which makes it difficult to know that a match did not occur.
#104999e54f5dfa Thanks @phryneas! - Allow the execution function returned by useLazyQuery to change the query.
#1036214a56b105 Thanks @mccraveiro! - Fix error when server returns an error and we are also querying for a local field
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.7.6 to 3.7.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/apollographql/apollo-client/releases"><code>@apollo/client</code>'s releases</a>.</em></p>
<blockquote>
<h2>v3.7.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10502">#10502</a> <a href="https://github.com/apollographql/apollo-client/commit/315faf9ca5b326852919ab7fc2082d6ba92bcb59"><code>315faf9ca</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Log a warning to the console when a mock passed to <code>MockedProvider</code> or <code>MockLink</code> cannot be matched to a query during a test. This makes it easier to debug user errors in the mock setup, such as typos, especially if the query under test is using an <code>errorPolicy</code> set to <code>ignore</code>, which makes it difficult to know that a match did not occur.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10499">#10499</a> <a href="https://github.com/apollographql/apollo-client/commit/9e54f5dfa05fd363e534c432ba8c569bb96a6e35"><code>9e54f5dfa</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Allow the execution function returned by <code>useLazyQuery</code> to change the query.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10362">#10362</a> <a href="https://github.com/apollographql/apollo-client/commit/14a56b105fefcbb2ce5daa9fd6924e5decafcc16"><code>14a56b105</code></a> Thanks <a href="https://github.com/mccraveiro"><code>@mccraveiro</code></a>! - Fix error when server returns an error and we are also querying for a local field</p>
</li>
</ul>
</blockquote>
</details>
<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>3.7.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10502">#10502</a> <a href="https://github.com/apollographql/apollo-client/commit/315faf9ca5b326852919ab7fc2082d6ba92bcb59"><code>315faf9ca</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Log a warning to the console when a mock passed to <code>MockedProvider</code> or <code>MockLink</code> cannot be matched to a query during a test. This makes it easier to debug user errors in the mock setup, such as typos, especially if the query under test is using an <code>errorPolicy</code> set to <code>ignore</code>, which makes it difficult to know that a match did not occur.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10499">#10499</a> <a href="https://github.com/apollographql/apollo-client/commit/9e54f5dfa05fd363e534c432ba8c569bb96a6e35"><code>9e54f5dfa</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Allow the execution function returned by <code>useLazyQuery</code> to change the query.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10362">#10362</a> <a href="https://github.com/apollographql/apollo-client/commit/14a56b105fefcbb2ce5daa9fd6924e5decafcc16"><code>14a56b105</code></a> Thanks <a href="https://github.com/mccraveiro"><code>@mccraveiro</code></a>! - Fix error when server returns an error and we are also querying for a local field</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/676e11edd57ab2582b49bf1d1b6dc921df7213cf"><code>676e11e</code></a> Version Packages (<a href="https://github.com/apollographql/apollo-client/issues/10501">#10501</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/e079cc1ad31dae9831dbd13a6e7636384e48e9e9"><code>e079cc1</code></a> Remove unused reject argument for mockQueryManager and mockWatchQuery (<a href="https://github.com/apollographql/apollo-client/issues/10504">#10504</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/315faf9ca5b326852919ab7fc2082d6ba92bcb59"><code>315faf9</code></a> Log unmatched mocks to the console for tests (<a href="https://github.com/apollographql/apollo-client/issues/10502">#10502</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/14a56b105fefcbb2ce5daa9fd6924e5decafcc16"><code>14a56b1</code></a> fix: error when server throws and we are also querying for a local field (<a href="https://github.com/apollographql/apollo-client/issues/1">#1</a>...</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/8ac151e6e3f6aaf4a2facb44cff81be7104f066c"><code>8ac151e</code></a> Welcome, Lenz!</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/9e54f5dfa05fd363e534c432ba8c569bb96a6e35"><code>9e54f5d</code></a> Allow <code>useLazyQuery</code> trigger fn to change <code>query</code> (<a href="https://github.com/apollographql/apollo-client/issues/10499">#10499</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/2408fd3fe7259ebf8bd5c90b67ec71ce4124180d"><code>2408fd3</code></a> chore: adds GHA workflow to lock closed + dormant issues (<a href="https://github.com/apollographql/apollo-client/issues/10500">#10500</a>)</li>
<li>See full diff in <a href="https://github.com/apollographql/apollo-client/compare/v3.7.6...v3.7.7">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>
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.7.6 to 3.7.7.
Release notes
Sourced from
@apollo/client's releases.Changelog
Sourced from
@apollo/client's changelog.Commits
676e11eVersion Packages (#10501)e079cc1Remove unused reject argument for mockQueryManager and mockWatchQuery (#10504)315faf9Log unmatched mocks to the console for tests (#10502)14a56b1fix: error when server throws and we are also querying for a local field (#1...8ac151eWelcome, Lenz!9e54f5dAllowuseLazyQuerytrigger fn to changequery(#10499)2408fd3chore: adds GHA workflow to lock closed + dormant issues (#10500)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 conflictsadded 5 commits
masterdad83b93- Build(deps): bump @apollo/client from 3.7.6 to 3.7.7Compare with previous version