Class InputValueDefinitionToParameterMapper
java.lang.Object
io.github.besi97.graphql.codegen.mapper.InputValueDefinitionToParameterMapper
Mapper from GraphQL's InputValueDefinition to a Freemarker-understandable format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap(MappingContext mappingContext, List<graphql.language.InputValueDefinition> valueDefinitions, String parentTypeName) Map input value definition to a Freemarker-understandable data model type
-
Constructor Details
-
InputValueDefinitionToParameterMapper
-
-
Method Details
-
map
public List<ParameterDefinition> map(MappingContext mappingContext, List<graphql.language.InputValueDefinition> valueDefinitions, String parentTypeName) Map input value definition to a Freemarker-understandable data model type- Parameters:
mappingContext- Global mapping contextvalueDefinitions- List of GraphQL value definitionsparentTypeName- Name of the parent GraphQL type- Returns:
- Freemarker data model of the GraphQL input value definition
-