Class InterfaceDefinitionToDataModelMapper

java.lang.Object
io.github.besi97.graphql.codegen.mapper.InterfaceDefinitionToDataModelMapper

public class InterfaceDefinitionToDataModelMapper extends Object
Map interface definition to a Freemarker data model
  • Constructor Details

  • Method Details

    • map

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