Relay doesn't seem to handle InlineFrag.use(frag) well if the fragment module InlineFrag has the @inline directive.
A strange error is thrown that makes finding the cause difficult, especially for new people.
This seems like a bug and has been an issue for longer that the linked to issue has been open.
Relay doesn't seem to handle
InlineFrag.use(frag)
well if the fragment moduleInlineFrag
has the@inline
directive. A strange error is thrown that makes finding the cause difficult, especially for new people.This seems like a bug and has been an issue for longer that the linked to issue has been open.
Here is an example of the error:
I'm guessing this PPX code would have to be guarded by
!hasInlineDirective
.