Add exact semantic history resets and unordered member review

This commit is contained in:
2026-09-06 08:09:44 +03:00
parent 2c0f93839f
commit 843635ed26
7 changed files with 1505 additions and 29 deletions
+6 -1
View File
@@ -718,7 +718,12 @@ fn free_string(path: &str) -> bool {
// These are choices for the closed model, not a second validation boundary.
// A current reference is always retained, even while other draft fields make it
// incompatible. Applying the complete draft remains the core validator's job.
fn reference_choices(draft: &Draft, project: &Project, path: &str, current: Id) -> Vec<Choice> {
pub(crate) fn reference_choices(
draft: &Draft,
project: &Project,
path: &str,
current: Id,
) -> Vec<Choice> {
let identities = project.identities().into_iter().collect::<BTreeMap<_, _>>();
let compatible = reference_ids(draft, project, path);
let mut objects = compatible