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

docs: update example for yoga v3 #670

Merged
merged 4 commits into from
Nov 24, 2022
Merged

docs: update example for yoga v3 #670

merged 4 commits into from
Nov 24, 2022

Conversation

n1ru4l
Copy link
Contributor

@n1ru4l n1ru4l commented Nov 14, 2022

@changeset-bot
Copy link

changeset-bot bot commented Nov 14, 2022

⚠️ No Changeset found

Latest commit: 3b22be7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link

vercel bot commented Nov 14, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pothos ✅ Ready (Inspect) Visit Preview Nov 24, 2022 at 11:03AM (UTC)

@hayes
Copy link
Owner

hayes commented Nov 14, 2022

Thanks for adding these updates! Looks like there are some type issues to figure out still, but I can also look into those too if they are not obvious.

@hayes
Copy link
Owner

hayes commented Nov 17, 2022

@n1ru4l it looks like importing yoga is causing issues when type-checking the examples. The examples mostly all have "skipLibCheck": false,, and are more sensitive to type issues in dependencies. The actual error seems to be related to pulling in incompatible types for web workers, but haven't tracked down the exact issue.

Unfortunately we can't just enable skipLibCheck, because having that enabled for these examples has helped catch a number of type compatibility issues in the past.

@ardatan
Copy link
Contributor

ardatan commented Nov 24, 2022

That issue seems to be fixed in 3.0.3!
dotansimha/graphql-yoga#2123 (comment)
Could you run CI @hayes ?

@hayes
Copy link
Owner

hayes commented Nov 24, 2022

Awesome, thank you!

@hayes hayes merged commit 3b22be7 into hayes:main Nov 24, 2022
@ardatan ardatan deleted the patch-1 branch November 24, 2022 21:54
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

3 participants