deep-foundation / deep-foundation/deeplinks

bug: If `link_id` is undefined then all values are updated

Open
#183 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

# Code
```ts
await deep.update(
{
link_id: undefined
},
{
value: "text"
},
{
table: 'strings'
}
);
```

# Expected
Error that link_id is undefined

# Actual
ALL THE STRING VALUES are updated

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.