Open bohjak opened 2 years ago
Store children schemas directly in SchemaEntry
(means dereferencing children when entry is being created) and make entry creation a global action.
This will mean only an adaptation of the existing system and should solve 1 and 2 (at least in most cases). I'm not super clear yet on the implications, but it might make 3 easier.
Motivation
The current system of maintaining only references to the currently selected entry and its parents in the global state has reached its limits.
Under the current system it is not possible to
$ref
we assume it has further children),Deps
This is likely to have a large effect on #1 and #2. The schema representation should then be general enough to not only support JSONSchema. Each schema type can then have its own parser.
Solution Proposal
TBD