ResultOf
●shopify-graphql · /index·type
Typed shape returned by an Apollo execution of a graphql() document.
Reach for it to type the resolved data of a query or mutation in storefront
code, rather than manually spelling out the response shape.
Definition
type ResultOf = GqlResultOf<TDoc>;GqlResultOf<TDoc>
Example
Related
FragmentOf TadaDocumentNode VariablesOf
FragmentOf
Masked shape of a fragment as it appears before being unwrapped by readFragment. Use it to type the data parameter of a component that receives a masked fragmen
TadaDocumentNode
Document node type that carries both result and variables type parameters endtoend. Use it to type function parameters that accept any graphql()produced documen