Class InputDefinitionToDataModelMapper

java.lang.Object
io.github.besi97.graphql.codegen.mapper.InputDefinitionToDataModelMapper
All Implemented Interfaces:
UnknownFieldsSupport

public class InputDefinitionToDataModelMapper extends Object implements UnknownFieldsSupport
Map input type definition to a Freemarker data model
  • Constructor Details

  • Method Details

    • map

      public Map<String,Object> map(MappingContext mappingContext, ExtendedInputObjectTypeDefinition definition)
      Map input type definition to a Freemarker data model
      Parameters:
      mappingContext - Global mapping context
      definition - Definition of input type including base definition and its extensions
      Returns:
      Freemarker data model of the GraphQL type