fixed ordering of all things sql

This commit is contained in:
2026-05-14 05:58:38 -04:00
parent ce9c9baac9
commit 2a8b991269
12 changed files with 2334 additions and 1799 deletions

View File

@ -1,3 +1,4 @@
use indexmap::IndexSet;
use crate::database::schema::Schema;
impl Schema {
@ -65,10 +66,10 @@ impl Schema {
}
}
} else if let Some(one_of) = &self.obj.one_of {
let mut type_vals = std::collections::HashSet::new();
let mut kind_vals = std::collections::HashSet::new();
let mut type_vals = IndexSet::new();
let mut kind_vals = IndexSet::new();
let mut disjoint_base = true;
let mut structural_types = std::collections::HashSet::new();
let mut structural_types = IndexSet::new();
for c in one_of {
let mut child_id = String::new();