Functions for serializing attribute types that are not native to Dynamo from table item -> entity and entity -> table item EX: See DateAttribute decorator

interface Serializers {
    toEntityAttribute: EntitySerializer;
    toTableAttribute: TableSerializer;
}

Properties

toEntityAttribute: EntitySerializer

Function to serialize a Dynamo table item attribute to Entity attribute. Used when the type defined on the entity is not a native type to Dynamo (EX: Date)

toTableAttribute: TableSerializer

Function to serialize an Entity attribute to an attribute type that Dynamo supports. (EX: Date->string)

Generated using TypeDoc