You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
originally brought to GraphQL discord, but nobody seems to understand why there so wondering if anybody else can shed light on this.
Getting an error related to a missing fragment with the below test setup. The query works fine when not used in a test setting and hydrates the component with the result, but in my test rig, I get:
Error: Uncaught [Invariant Violation: Relay: Expected to receive an object where ...FileUpload_files was spread, but the fragment reference was not found. This is most likely the result of: - Forgetting to spread FileUpload_files in usePaginationFragment()'s parent's fragment. - Conditionally fetching FileUpload_files but unconditionally passing a fragment reference prop to usePaginationFragment().
The filesFragment is consumed by a usePaginationFragment, which I'm unsure makes a difference here since the only difference would be the connection and argument fields.
The text was updated successfully, but these errors were encountered:
originally brought to GraphQL discord, but nobody seems to understand why there so wondering if anybody else can shed light on this.
Getting an error related to a missing fragment with the below test setup. The query works fine when not used in a test setting and hydrates the component with the result, but in my test rig, I get:
Error: Uncaught [Invariant Violation: Relay: Expected to receive an object where ...FileUpload_files was spread, but the fragment reference was not found. This is most likely the result of: - Forgetting to spread FileUpload_files in usePaginationFragment()'s parent's fragment. - Conditionally fetching FileUpload_files but unconditionally passing a fragment reference prop to usePaginationFragment().
Test setup looks like:
The filesFragment is consumed by a usePaginationFragment, which I'm unsure makes a difference here since the only difference would be the connection and argument fields.
The text was updated successfully, but these errors were encountered: