FragmentFromAnnotation

Base class for reusable named GraphQL fragments.

Subclasses must be annotated with GraphQLFragment. The type parameter identifies the GraphQL composite type selected by the fragment and is checked against the fragment's type condition during tenant-module assembly.

Parameters

<T>

the GraphQL composite output type selected by the fragment

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Returns the fragment document declared by GraphQLFragment.