DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
Can you add mapper option to PartitionKey decorator ?
Now I must hack it with other field
export class UserDynamoDb implements User {
@PartitionKey()
public _id: string;
@Transient()
public id: UserId; // after 'store.get(...)' I must setup it manually
@Property()
public username?: string;
}
Can you add mapper option to PartitionKey decorator ?
Now I must hack it with other field
It will be very helpful for me :)