allocate instances to provide links without active instances #13

Open
opened 2021-05-13 12:21:39 -04:00 by valyrie97 · 0 comments
valyrie97 commented 2021-05-13 12:21:39 -04:00 (Migrated from github.com)

MAYBE

please add use cases from something like this!

the idea is that an instance can allocate another instance, meaning it can create an instance without all of its required parameters. this will generate a link that can be used, however, the linked instance wont be restored, until it has all of its required links set.

useful potentially in cross linking:

imagine you want A and B to cross link.

Main allocates A
Main creates B, linking to A
B is restored (with an allocated link to A)
Main sets link in A to B
A is restored

Presumably this can usually be solved by having 2 globally static instances. however, some cases may require something like this.

The main issue is that B is restore before all the links are usable, which goes against a core principle of vogue: Required links, exist at restore time.

MAYBE please add use cases from something like this! the idea is that an instance can allocate another instance, meaning it can create an instance without all of its required parameters. this will generate a link that can be used, however, the linked instance wont be restored, until it has all of its required links set. useful potentially in cross linking: imagine you want A and B to cross link. Main allocates A Main creates B, linking to A B is restored (with an allocated link to A) Main sets link in A to B A is restored Presumably this can usually be solved by having 2 globally static instances. however, some cases may require something like this. The main issue is that B is restore before all the links are usable, which goes against a core principle of vogue: **Required links, exist at restore time**.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: valerie/vogue#13
There is no content yet.