formation
Spec
Convert DynamoEntity to AttributeMap.
Input
Name
Type
Information
source
TSource
Entity to convert to AttributeMap.
RootTClass
ClassCapture<TSource>
Reference of @DynamoEntity
class
formationType
FormationMask
Conversion bitmask
An error is occurs, if the source
is null or undefined.
Formation Mask
With Formation Mask, only certain information can be included in the DynamoItem. It is good for generate key.
FormationMask.ts
Example
It will be formationed as,
Internal Logic
Use the formatProperty
method to perform a formation on all the properties, then merge all the results.
Last updated
Was this helpful?