Skip to content

New error handling is not done properly in the generated __typename resolver #37

Description

@wravery

The response from a typical Relay query looks like this:

{
  "data":{},
  "errors":[
    "Field error name: __typename unknown error: Invalid call to Value::release for MapType",
    ...
  ]
}

And the console error you get in Relay looks like this:

'RelayResponseNormalizer(): Expected a typename for record `{'

Since I backported this to v1.2 it affects v1.2.0 and v2.0.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions