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

Disable introspection, returns null in __typename #1163

Closed
negezor opened this issue Dec 6, 2022 · 1 comment
Closed

Disable introspection, returns null in __typename #1163

negezor opened this issue Dec 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@negezor
Copy link
Contributor

negezor commented Dec 6, 2022

Expected Behavior

Unable to introspect schema with __typename working

{
  "data": {
    "user": {
      "avatar": {
        "__typename": "Image"
      },
      "__typename": "User"
    }
  }
}

Actual Behavior

Field __typename return null

{
  "data": {
    "user": {
      "avatar": {
        "__typename": null
      },
      "__typename": null
    }
  },
}

Steps to Reproduce the Problem

  1. Use schema.disable_suggestions()
  2. Do request with __typename

Specifications

  • Version: 5.0.2
  • Platform: Windows
  • Subsystem: Arch WSL
@negezor negezor added the bug Something isn't working label Dec 6, 2022
@sunli829
Copy link
Collaborator

sunli829 commented Dec 7, 2022

Fixed in v5.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants