Skip to content

client insert value relation support #200

@konard

Description

@konard
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 },
});

Forked from deep-foundation/deeplinks#30 by https://github.com/konard/gh-org-migrator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions