Skip to content

fix(core): Drop graphql type switch, since this is done already by @0no-co/graphql.web#3893

Merged
kitten merged 2 commits into
mainfrom
@kitten/fix/drop-graphql-type-switch
Jun 22, 2026
Merged

fix(core): Drop graphql type switch, since this is done already by @0no-co/graphql.web#3893
kitten merged 2 commits into
mainfrom
@kitten/fix/drop-graphql-type-switch

Conversation

@kitten

@kitten kitten commented Jun 22, 2026

Copy link
Copy Markdown
Member

Resolves #3892

Summary

The type switch between graphql and @0no-co/graphql.web is redundant as it's already done by @0no-co/graphql.web internally. We also should skip this since the union is being used for an extends on PersistedDocument.

Set of changes

  • Drop src/graphql.ts for @0no-co/graphql.web's types

@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a82c44a

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

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

@kitten kitten merged commit f6b6e5d into main Jun 22, 2026
7 checks passed
@kitten kitten deleted the @kitten/fix/drop-graphql-type-switch branch June 22, 2026 10:38
@github-actions github-actions Bot mentioned this pull request Jun 22, 2026
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.

PersistedDocument loses kind/definitions with @0no-co/graphql.web 1.3.x, breaking Operation['query'] assignability to graphql's DocumentNode

1 participant