Skip to content

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

@wravery

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.

Metadata

Metadata

Assignees

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