Skip to content

Instantly share code, notes, and snippets.

View andrestone's full-sized avatar
🏠
Working from home

André Fontenele andrestone

🏠
Working from home
View GitHub Profile
@andrestone
andrestone / no-client.ts
Last active March 27, 2023 07:18
`create` with `SetAttribute` with no client results in `DynamoDBSet` being passed as param.
import * as AWS from "@aws-sdk/client-dynamodb";
import { Entity, Service } from "../../";
const table = "your_table_name";
export const configuration = {
endpoint: "http://localhost:8000",
region: "us-east-1"
};