schema creation progress

This commit is contained in:
2025-12-07 22:18:01 +01:00
parent 2e354b435c
commit 2fcb504b9a
11 changed files with 336 additions and 168 deletions
+4 -7
View File
@@ -46,7 +46,7 @@ public:
return utils::failure(result.err());
}
foreign_node_completer<Type>::template complete<Type>(node);
relation_completer<Type>::complete(node);
// relation_completer<Type>::complete(node);
} else if (!has_node(name)) {
it->second->update_name(name);
nodes_by_name_[name] = it->second;
@@ -177,12 +177,9 @@ private:
static void insert_node(const node_ptr &parent, const node_ptr &child);
void remove_node(const node_ptr &node);
bool expecting_relation_node(const std::string &name) const;
template<typename NodeType>
void expect_relation_node(const std::string &name) {
expected_relation_nodes_[name] = std::type_index(typeid(NodeType));
}
void remove_expected_relation_node(const std::string &name);
bool expecting_relation_node(const std::string &name) const;
void expect_relation_node(const std::string &name, const std::type_index &ti);
void remove_expected_relation_node(const std::string &name);
private:
friend class internal::shadow_repository;