mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
@@ -15,7 +15,7 @@ struct Person {
|
||||
rfl::Rename<"children", std::optional<std::vector<Person>>> children;
|
||||
};
|
||||
|
||||
TEST(json, insert_name_here) {
|
||||
TEST(json, test_optional_fields) {
|
||||
const auto bart = Person{.first_name = "Bart"};
|
||||
|
||||
const auto lisa = Person{.first_name = "Lisa"};
|
||||
|
||||
Reference in New Issue
Block a user