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

Move @graphiql/create-fetcher to @graphiql/toolkit #1788

Merged
merged 6 commits into from
Feb 10, 2021

Conversation

harshithpabbati
Copy link
Contributor

Moving create fetcher functionalites into toolkit

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2021

🦋 Changeset detected

Latest commit: ec16590

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

This PR includes changesets to release 1 package
Name Type
@graphiql/toolkit 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

@acao
Copy link
Member

acao commented Feb 6, 2021

awesome work! can you add to the readme for create fetcher that it was inspired by graphql-subscriptions-fetcher, and thank @Urigo?

@acao
Copy link
Member

acao commented Feb 6, 2021

oh hmm, I don't think we're going to be removing the package in this PR. remember we're going to leave it in with the readme pointing to toolkit for one last release?

@acao
Copy link
Member

acao commented Feb 6, 2021

i guess we can just delete it though? what do you think @imolorhe or @benjie ? should we just delete the package from npm or leave a waypoint? it has hundreds of downloads since yesterday but that's fine

@imolorhe
Copy link
Contributor

imolorhe commented Feb 6, 2021

If the number of packages using it isn't a lot yet, then it should be fine to delete it? Else i think updating the readme that the functionality has been moved should be fine as well.

@acao
Copy link
Member

acao commented Feb 7, 2021

@imolorhe yes, graphiql is only in rc with it. ok sounds good!

wish we’d thought of this before i announced it

thanks so much @harshithpabbati !

@acao
Copy link
Member

acao commented Feb 9, 2021

@imolorhe I’ve been meaning to get to this one and its holding up the next RC. if you could take a look that would be awesome!

@@ -13,7 +13,7 @@ import {
createWebsocketsFetcherFromUrl,
createMultipartFetcher,
createSimpleFetcher,
} from '../lib';
} from '../../dist/lib';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should not be necessary

import {
isSubscriptionWithName,
createWebsocketsFetcherFromUrl,
} from '../../dist/lib';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should not be necessary.

@codecov
Copy link

codecov bot commented Feb 10, 2021

Codecov Report

Merging #1788 (c1593a5) into main (e08f19c) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1788      +/-   ##
==========================================
+ Coverage   65.61%   65.66%   +0.05%     
==========================================
  Files          85       85              
  Lines        5115     5115              
  Branches     1624     1624              
==========================================
+ Hits         3356     3359       +3     
+ Misses       1755     1752       -3     
  Partials        4        4              
Impacted Files Coverage Δ
packages/graphiql-toolkit/src/createFetcher.ts 65.62% <ø> (ø)
packages/graphiql-toolkit/src/lib.ts 53.84% <ø> (ø)
...-service-parser/src/__tests__/OnlineParserUtils.ts 97.59% <100.00%> (ø)
...raphql-language-service-parser/src/onlineParser.ts 90.37% <0.00%> (+2.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e08f19c...ec16590. Read the comment docs.

@acao acao merged commit 8cb4107 into graphql:main Feb 10, 2021
@github-actions github-actions bot mentioned this pull request Feb 10, 2021
acao added a commit that referenced this pull request Feb 12, 2021
Co-authored-by: Samuel <samuelimolo4real@gmail.com>
Co-authored-by: Rikki <rikki.schulte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants