added more tests

This commit is contained in:
Sascha Kühl
2025-02-06 16:17:47 +01:00
parent c76aa56440
commit 0b70f5d4ee
68 changed files with 2117 additions and 263 deletions
+8 -2
View File
@@ -6,9 +6,10 @@
namespace matador::object {
basic_object_info::basic_object_info(schema_node &node, const std::type_index type_index)
basic_object_info::basic_object_info(schema_node &node, const std::type_index type_index, object_definition &&definition)
: node_(node)
, type_index_(type_index) {}
, type_index_(type_index)
, definition_(std::move(definition)) {}
std::type_index basic_object_info::type_index() const {
return type_index_;
@@ -17,4 +18,9 @@ std::type_index basic_object_info::type_index() const {
std::string basic_object_info::name() const {
return node_.name();
}
const object_definition& basic_object_info::definition() const {
return definition_;
}
} // namespace matador::object