deep-foundation / deep-foundation/deeplinks

Should we support a way to define default link's value?

Open
#321 0 comments 1 reaction 2 assignees Claimed by @ivansglazunov View on GitHub
enhancement question
Dominant language
TypeScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Should it be an architectural change or it can be done as an optional package?

If it is optional package, than we can implement it as a decorator for DeepClient.

For example we can have a default value for a link as 0 or 10 or any other.
Then if we do not store value for that link, and default value is not empty if we try to load a value, using `value` relationship we will get that value even if for that link value was never specified after the creation.

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.