OptionalfragmentThe name of the fragment in your GraphQL document to be used. If you do
not provide a fragmentName and there is only one fragment in your
fragment document then that fragment will be used.
OptionalfromAn object containing a __typename and primary key fields
(such as id) identifying the entity object from which the fragment will
be retrieved, or a { __ref: "..." } reference, or a string ID
(uncommon).
OptionalidThe root id to be used. This id should take the same form as the
value returned by the cache.identify function. If a value with your
id does not exist in the store, null will be returned.
OptionaloptimisticWhether to read from optimistic or non-optimistic cache data.
This option should be preferred over the optimistic parameter of the
readFragment method.
OptionalreturnWhether to return incomplete data rather than null.
A GraphQL document created using the
gqltemplate string tag with one or more fragments which will be used to determine the shape of data to read. If you provide more than one fragment in this document then you must also specifyfragmentNameto specify which fragment is the root fragment.