Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(url-loader): use fetch-event-source instead of sse-z (#2906)
* feat(url-loader): use fetch-event-source instead of sse-z * Do not use Node URL * Cleanup * Small fixes
- Loading branch information
Showing
4 changed files
with
102 additions
and
57 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,5 @@ | ||
--- | ||
'@graphql-tools/url-loader': minor | ||
--- | ||
|
||
feat(url-loader): use fetch-event-source instead of sse-z |
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
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
"@microsoft/fetch-event-source": "2.0.1" only works in the browser but not in a nodejs enviroment
for example
if you try to use graphql-tools in a nodejs enviroment this wont work since
document is not defined
inside@microsoft/fetch-event-source
@ardatan