generated from apollographql/typescript-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 3rd url argument to didEncounterErrors
- Loading branch information
1 parent
d2f0f5d
commit 109ca0e
Showing
3 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@apollo/datasource-rest': minor | ||
--- | ||
|
||
Add `url` parameter to `didEncounterErrors` hook | ||
|
||
In previous versions of `RESTDataSource`, the URL | ||
of the request was available on the `Request` object | ||
passed in to the hook. The `Request` object is no | ||
longer passed as an argument, so this restores | ||
the availability of the `url` to the hook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters