Headless Server Developer Manual / Version 2204
Table Of Contents
The @fetch
directive alters the default invocation chain by invoking the
SpelDataFetcher
class instead of the default PropertyDataFetcher
class. The SpelDataFetcher
uses SpEL to operate either on the query root or invokes instead other Spring Beans. Either way, the invoked
object has to return an object or a DataFetcherResult
instance. The slightly altered
invocation chain of DataFetcher
is: