close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2107

Table Of Contents

4.2.3.2 WiringFactory

A WiringFactory implementation 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 extends CombinedWiringFactory and applies additional instances of ModelMapper on the results of the DataFetcher instances. The CombinedWiringFactory class is basically a WiringFactory which delegates calls to several WiringFactory instances, while acting as one WiringFactory for the GraphQL runtime.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.