Invariant violation calling `useFragment` with inline fragment
anmonteiro opened this issue · 0 comments
anmonteiro commented
Is it expected that calling useFragment
on a fragment marked with @inline
throws an invariant violation?
In other words, shouldn't isFragment
also account for RelayConcreteNode.INLINE_DATA_FRAGMENT
?
relay/packages/relay-runtime/query/GraphQLTag.js
Lines 81 to 88 in 970c94a