Skip to content

__typename is not returned when queried #57

Open
@cwheel

Description

@cwheel

In a query like the following:

query {
   Hero {
      __typename
   }
}

The expected response would contain a key like:

"__typename": "Hero"

Instead, the __typename key is omitted from the response. I've done a bit of poking around in Juniper, and it seems that the concrete_type_name function is called to determine the value __typename should resolve when queried. Wundergraph appears to define that function here, but to no effect. Any thoughts on what might be happening here? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions