deep-foundation / deep-foundation/deeplinks

client insert value relation support

Open
#30 2 comments 3 reactions 1 assignee Claimed by @ivansglazunov View on GitHub
enhancement
Dominant language
TypeScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

```js
await deep.insert({
type_id: 1,
string: { data: { value: 'Abc' } } // now we must know string/number/object relation
from: { data: { type_id: 1 } },
to: { data: { type_id: 1 } },
});
// need to support syntax
// if data not setted, object already can be used as relation insert
await deep.insert({
type_id: 1,
value: 'Abc', // and value type relation getts from value type, for example 'Abc' is string
from: { type_id: 1 },
to: { type_id: 1 },
});
```

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.