graphql / graphiql

GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
MIT License
16.11k stars 1.73k forks source link

[graphiql/toolkit] support graphql-sse #3750

Open dimaMachina opened 2 months ago

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 2936a79bf3d8d2a7723987bdd6d268d3a627293e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ----------------- | ----- | | @graphiql/toolkit | Minor | | @graphiql/react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 43 lines in your changes missing coverage. Please review.

Project coverage is 64.93%. Comparing base (a929862) to head (2936a79). Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
...l-toolkit/src/create-fetcher/create-sse-fetcher.ts 0.00% 37 Missing :warning:
...aphiql-toolkit/src/create-fetcher/createFetcher.ts 0.00% 5 Missing :warning:
packages/graphiql/test/schema.js 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/graphql/graphiql/pull/3750/graphs/tree.svg?width=650&height=150&src=pr&token=XdBgmoWsyv&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=graphql)](https://app.codecov.io/gh/graphql/graphiql/pull/3750?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=graphql) ```diff @@ Coverage Diff @@ ## main #3750 +/- ## ========================================== - Coverage 65.32% 64.93% -0.39% ========================================== Files 122 123 +1 Lines 7003 7045 +42 Branches 2260 2252 -8 ========================================== Hits 4575 4575 - Misses 2411 2453 +42 Partials 17 17 ``` | [Files with missing lines](https://app.codecov.io/gh/graphql/graphiql/pull/3750?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=graphql) | Coverage Δ | | |---|---|---| | [packages/graphiql/test/schema.js](https://app.codecov.io/gh/graphql/graphiql/pull/3750?src=pr&el=tree&filepath=packages%2Fgraphiql%2Ftest%2Fschema.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=graphql#diff-cGFja2FnZXMvZ3JhcGhpcWwvdGVzdC9zY2hlbWEuanM=) | `38.57% <0.00%> (ø)` | | | [...aphiql-toolkit/src/create-fetcher/createFetcher.ts](https://app.codecov.io/gh/graphql/graphiql/pull/3750?src=pr&el=tree&filepath=packages%2Fgraphiql-toolkit%2Fsrc%2Fcreate-fetcher%2FcreateFetcher.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=graphql#diff-cGFja2FnZXMvZ3JhcGhpcWwtdG9vbGtpdC9zcmMvY3JlYXRlLWZldGNoZXIvY3JlYXRlRmV0Y2hlci50cw==) | `0.00% <0.00%> (ø)` | | | [...l-toolkit/src/create-fetcher/create-sse-fetcher.ts](https://app.codecov.io/gh/graphql/graphiql/pull/3750?src=pr&el=tree&filepath=packages%2Fgraphiql-toolkit%2Fsrc%2Fcreate-fetcher%2Fcreate-sse-fetcher.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=graphql#diff-cGFja2FnZXMvZ3JhcGhpcWwtdG9vbGtpdC9zcmMvY3JlYXRlLWZldGNoZXIvY3JlYXRlLXNzZS1mZXRjaGVyLnRz) | `0.00% <0.00%> (ø)` | |
github-actions[bot] commented 2 months ago

The latest changes of this PR are available as canary in npm (based on the declared changesets):

graphiql@3.7.2-canary-8704d28b.0
@graphiql/plugin-code-exporter@3.1.3-canary-8704d28b.0
@graphiql/plugin-explorer@3.2.3-canary-8704d28b.0
@graphiql/react@0.26.3-canary-8704d28b.0
@graphiql/toolkit@0.12.0-canary-8704d28b.0
acao commented 2 months ago

@dimaMachina can you update the docs in toolkit as well?

acao commented 2 weeks ago

@dimaMachina needs a very minor rebase it seems, main release branch is now unblocked!