PreviousValues types trigger Relay error: The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects


When subscribing to deletions, we need to request the previousValues field in order to know witch edge we have to remove in the local Relay store.

This causes the error mentioned in the title because we end up with two different object type having the same id. MyItem and MyItemPreviousValues.

Do you have any idea on how this can be fixed?


This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.