Open jakobkhansen opened 5 days ago
Tagging @gorodscy, it looks like this is hitting the STREAM/DEFER case when both mockClientData
and generateDeferredPayload
options are true
, leading to all client mock-data being generated as deferred data when it shouldn't. Maybe these should be separate cases?
Hi,
I am seeing an issue with using
mockClientData: true
withMockPayloadGenerator.generateWithDefer
. When generating mock-data for client extensions, Relay generates an object with the following structure:and it seems Relay misidentifies this as an incremental update in the partitionGraphQLResponses function. The invariant there fails and crashes since the
path
is notnull
, but thelabel
is.