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

feat: export ToolbarSelectOption and ToolbarMenuItem #1889

Merged
merged 1 commit into from Jun 16, 2021

Conversation

henryqdineen
Copy link
Contributor

It looks like ToolbarSelect is exported from the index module but ToolbarSelectOption isn't. We are upgrading from v0.14.2 to v1.4.2 and noticed that the GraphiQL.Select and GraphiQL.SelectOption properties are no longer available and appear to be commented out. When looking at moving over to ToolbarSelect it seemed like it would be better if ToolbarSelectOption was also exported. ToolbarMenu/ToolbarMenuItem also appears to have the same issue.

Thanks!

@changeset-bot
Copy link

changeset-bot bot commented Jun 15, 2021

🦋 Changeset detected

Latest commit: e66257d

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

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 15, 2021

CLA Signed

The committers are authorized under a signed CLA.

@codecov
Copy link

codecov bot commented Jun 16, 2021

Codecov Report

Merging #1889 (e66257d) into main (2d91916) will increase coverage by 0.10%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1889      +/-   ##
==========================================
+ Coverage   65.70%   65.81%   +0.10%     
==========================================
  Files          85       85              
  Lines        5106     5116      +10     
  Branches     1631     1636       +5     
==========================================
+ Hits         3355     3367      +12     
+ Misses       1747     1745       -2     
  Partials        4        4              
Impacted Files Coverage Δ
...ackages/graphiql-toolkit/src/create-fetcher/lib.ts 50.90% <20.00%> (-8.67%) ⬇️
packages/graphiql/src/components/GraphiQL.tsx 58.09% <100.00%> (+0.58%) ⬆️
...hql-language-service-server/src/findGraphQLTags.ts 64.89% <100.00%> (+4.25%) ⬆️
packages/graphiql/src/components/ToolbarButton.tsx 92.85% <0.00%> (+21.42%) ⬆️

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 9442058...e66257d. Read the comment docs.

@acao
Copy link
Member

acao commented Jun 16, 2021

awesome thank you! those GraphiQL.ComponentName interfaces were dropped as noted here so we could upgrade react:
#1165

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.

None yet

2 participants