public class ScalaAnnotationsMapper extends AnnotationsMapper
| Constructor and Description |
|---|
ScalaAnnotationsMapper(ValueMapper valueMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addModelValidationAnnotationForType(java.lang.String possiblyPrimitiveType)
Whether to add model validation annotation to a type
|
java.util.List<java.lang.String> |
getAdditionalAnnotations(MappingContext mappingContext,
java.lang.String typeName) |
java.lang.String |
getJacksonResolverTypeIdAnnotation(java.lang.String modelPackageName)
Get language specific Jackson type id resolver annotation
|
ValueMapper |
getValueMapper() |
getAnnotations, getAnnotations, getAnnotations, getAnnotations, getAnnotationsForDirective, getJacksonTypeIdAnnotationspublic ScalaAnnotationsMapper(ValueMapper valueMapper)
public boolean addModelValidationAnnotationForType(java.lang.String possiblyPrimitiveType)
AnnotationsMapperaddModelValidationAnnotationForType in class AnnotationsMapperpossiblyPrimitiveType - GraphQL type namepublic java.lang.String getJacksonResolverTypeIdAnnotation(java.lang.String modelPackageName)
AnnotationsMappergetJacksonResolverTypeIdAnnotation in class AnnotationsMappermodelPackageName - Model package name propertypublic java.util.List<java.lang.String> getAdditionalAnnotations(MappingContext mappingContext, java.lang.String typeName)
getAdditionalAnnotations in class AnnotationsMapperpublic ValueMapper getValueMapper()
getValueMapper in class AnnotationsMapper