Skip to content

Commit e5a7232

Browse files
committed
fix: allow description in class data
1 parent d0b82ce commit e5a7232

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/glaze_metadata.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ template <>
111111
struct glz::meta<plugify::Alias> {
112112
static constexpr auto value = object(
113113
"name", [](auto&& self) -> auto& { return self._impl->name; },
114+
"description", skip{},
114115
"owner", [](auto&& self) -> auto& { return self._impl->owner; }
115116
);
116117
};
@@ -119,6 +120,8 @@ template <>
119120
struct glz::meta<plugify::Binding> {
120121
static constexpr auto value = object(
121122
"name", [](auto&& self) -> auto& { return self._impl->name; },
123+
"description", skip{},
124+
"method", [](auto&& self) -> auto& { return self._impl->method; },
122125
"bindSelf", [](auto&& self) -> auto& { return self._impl->bindSelf; },
123126
"paramAliases", [](auto&& self) -> auto& { return self._impl->paramAliases; },
124127
"retAlias", [](auto&& self) -> auto& { return self._impl->retAlias; }
@@ -129,6 +132,8 @@ template <>
129132
struct glz::meta<plugify::Class> {
130133
static constexpr auto value = object(
131134
"name", [](auto&& self) -> auto& { return self._impl->name; },
135+
"group", skip{},
136+
"description", skip{},
132137
"handleType", [](auto&& self) -> auto& { return self._impl->handleType; },
133138
"invalidValue", [](auto&& self) -> auto& { return self._impl->invalidValue; },
134139
"nullPolicy", skip{},

0 commit comments

Comments
 (0)