File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
packages/relay-runtime/store Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -786,12 +786,31 @@ export type UseFragmentSubscriptionMissedUpdates = {
786
786
+ hasDataChanges : boolean ,
787
787
} ;
788
788
789
+ /**
790
+ * This event is logged when two strong objects share the same id,
791
+ * but have different types, resulting in an collision in the store.
792
+ */
793
+ export type IdCollisionTypenameLogEvent = {
794
+ + name : 'idCollision.typename' ,
795
+ } ;
796
+
797
+ /**
798
+ * This event is logged when a response contains fields with different
799
+ * values but which have the same corresponding id, resulting in a
800
+ * collision in the store.
801
+ */
802
+ export type IdCollisionFieldLogEvent = {
803
+ + name : 'idCollision.field' ,
804
+ } ;
805
+
789
806
export type LogEvent =
790
807
| SuspenseFragmentLogEvent
791
808
| SuspenseQueryLogEvent
792
809
| QueryResourceFetchLogEvent
793
810
| QueryResourceRetainLogEvent
794
811
| FragmentResourceMissingDataLogEvent
812
+ | IdCollisionTypenameLogEvent
813
+ | IdCollisionFieldLogEvent
795
814
| PendingOperationFoundLogEvent
796
815
| NetworkInfoLogEvent
797
816
| NetworkStartLogEvent
You can’t perform that action at this time.
0 commit comments