Headless Server Developer Manual / Version 2310
Table Of Contents
A WiringFactory
is used by the GraphQL runtime to gain information about, for example,
the types and scalars necessary to process a query. To do this, a WiringFactory
consists of
several provides*
methods and corresponding factory methods, for example, to create
DataFetcher
instances.
The Headless Server employs a custom implementation of a WiringFactory
class, the
ModelMappingWiringFactory.
Basically, the ModelMappingWiringFactory
class applies a suitable
ModelMapper
on the result of a DataFetcher
.