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

__typename is missing after upgrading from @urql/core 3.0.5 to 3.1.0 #2869

Closed
3 tasks done
mech opened this issue Dec 9, 2022 · 2 comments
Closed
3 tasks done

__typename is missing after upgrading from @urql/core 3.0.5 to 3.1.0 #2869

mech opened this issue Dec 9, 2022 · 2 comments

Comments

@mech
Copy link

mech commented Dec 9, 2022

Describe the bug

After upgrading, I noticed all my __typename are gone. Do I need to explicitly specify them in my query?

This work on 3.0.5 without specifying __typename in the selection:

query {
  notes {
    id
    name
  }
}

From the default test codesandbox you can see the __typename is missing.

Reproduction

https://codesandbox.io/s/friendly-engelbart-sb00j4?file=/package.json

Urql version

urql = 3.0.3
@urql/core = 3.1.0

Validations

  • I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
  • Read the docs.
  • Follow our Code of Conduct
@mech
Copy link
Author

mech commented Dec 9, 2022

fc6f3_16_18_50

@JoviDeCroock
Copy link
Collaborator

Fixed by #2871

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

No branches or pull requests

2 participants