Qualify optimistic tree reparenting with authoritative cycle rejection

This commit is contained in:
Timothy J. Aveni
2026-09-20 22:25:11 -07:00
parent c0669d2ed8
commit d80464d285
5 changed files with 71 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
interface TreeData id "tree:data" revision "tree:data@1" {
operation reparent id "tree:reparent" : optional<interface-ref<TreeData>> -> unit {
call id "tree:reparent:call" execution transaction targets [browser, server];
}
queryable relation parent id "tree:parent" : optional-one interface TreeData {
resolve id "tree:parent:resolve" execution snapshot targets [browser, server];
}
queryable relation children id "tree:children" : many interface TreeData {
resolve id "tree:children:resolve" execution snapshot targets [browser, server];
}
}