Skip to content

iak4v/dynamode-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Errors on line 59 on tests/user.test.ts

// note - name attribute takes string value and decorated with @attribute.string() in entitites/user.ts

// During Item Creation
UserManager.create(new User({
    email: user_email,
    name: 10, // typescript complaining ✅ nonetheless item gets created successfully ❌
    username: "username1"
}));

// During Item Updation
{
    set: {
        name: true // typescript not complaining ❌ nonetheless items gets updated successfully ❌
    }
}

To reproduce:

bun install
docker compose up -d
bun test

This project was created using bun init in bun v1.2.20. Bun is a fast all-in-one JavaScript runtime.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors