Class ConverterDataFetcher
java.lang.Object
org.craftercms.engine.graphql.impl.fetchers.ConverterDataFetcher
- All Implemented Interfaces:
graphql.schema.DataFetcher<Object>
Implementation of
DataFetcher to converts the result to Map.
This is a workaround because the PropertyDataFetcher has an internal cache for methods that
causes a conflict when Groovy classes are reloaded and at the moment is not possible to change the DataFetcher used.- Since:
- 3.1.6
- Author:
- joseross
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(graphql.schema.DataFetchingEnvironment environment) static ConverterDataFetcherof(graphql.schema.DataFetcher<?> dataFetcher)