Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update schema-reporting.md and usage-reporting.md for fetcher option #5264

Merged
merged 3 commits into from Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/source/api/plugin/schema-reporting.md
Expand Up @@ -102,5 +102,18 @@ The URL to use for reporting schemas. Primarily for testing and internal Apollo
</td>
</tr>

<tr>
<td>

###### `fetcher`

`typeof fetch`
</td>
<td>

Specifies which [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) function implementation to use when reporting schemas.
</td>
</tr>

</tbody>
</table>
13 changes: 13 additions & 0 deletions docs/source/api/plugin/usage-reporting.md
Expand Up @@ -209,6 +209,19 @@ An HTTP(S) agent to use for reporting. Can be either an [`http.Agent`](https://n
<tr>
<td>

###### `fetcher`

`typeof fetch`
</td>
<td>

Specifies which [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) function implementation to use when sending usage reports.
</td>
</tr>

<tr>
<td>

###### `reportIntervalMs`

`number`
Expand Down