Skip to content

Commit

Permalink
gg
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Aug 19, 2024
1 parent 2b15fb8 commit 5003b40
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#pragma once

#include <wpi/ct_string.h>
#include <algorithm>
#include <bit>
#include <cstring>
Expand Down Expand Up @@ -170,8 +171,7 @@ struct SerdeType<std::vector<T>> {
static constexpr std::string_view GetSchema() {
// TODO: this gets us the plain type name of T, but this is not schema JSON
// compliant!
static std::string name = wpi::Demangle(typeid(T).name());
return name;
return "TODO[?]"
}
};

Expand Down Expand Up @@ -200,8 +200,7 @@ struct SerdeType<std::optional<T>> {
static constexpr std::string_view GetSchema() {
// TODO: this gets us the plain type name of T, but this is not schema JSON
// compliant!
static std::string name = wpi::Demangle(typeid(T).name());
return name;
return "TODO?"
}
};

Expand Down

0 comments on commit 5003b40

Please sign in to comment.