Package com.shopify.graphql.support
Class Fragment<T>
- java.lang.Object
-
- com.shopify.graphql.support.Fragment<T>
-
public class Fragment<T> extends Object
This class is used to define a GraphQL "named" fragment.
A fragment can be referenced in any request with theaddFragmentReference(Fragment)
method of the corresponding fragment's generic type and must be added to the root request with theaddFragment(Fragment)
method of theQueryQuery
orMutationQuery
classes.