allocate instances to provide links without active instances #13
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: valerie/vogue#13
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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.