automap library
Classes
-
AutoMapConfiguration<
TSource extends AutoMapperModel, TTarget> -
Configuration to auto map the
TSource
type to theTTarget
type. - AutoMapper
- Handles mapping between different types.
- AutoMapperModel
- Abstract class for auto mapping
-
ManualMapConfiguration<
TSource, TTarget> -
Configuration to manual map the
TSource
type to theTTarget
type.
Typedefs
-
MapExpression<
TSource, TTarget> = TTarget Function(TSource source, AutoMapper mapper, Map params) -
An expression that defines how to map the
TTarget
type to theTSource
type.
Exceptions / Errors
- MapDoesNotExistError
- Thrown when trying to map between two type that have not had a map added.
- MapDuplicateError
- Thrown when a duplicate map is added.
- MapException
- An exception caused by a mapping failure.