Added rfl::NoOptionals; resolved #100 (#105)

This commit is contained in:
liuzicheng1987
2024-05-26 21:32:00 +02:00
committed by GitHub
parent 43ebb0bb24
commit 1eed713fff
11 changed files with 166 additions and 21 deletions
+1 -1
View File
@@ -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"};