zml/aio: add bool handling in struct population within populateStruct

This commit is contained in:
Tarry Singh 2024-09-02 14:11:47 +00:00
parent 1068d0bb33
commit 4b7e618b43

View File

@ -427,6 +427,10 @@ fn _populateStruct(
},
.void => true,
.@"union" => true,
.bool => {
obj.* = undefined;
return true;
},
else => if (required) {
log.err("{s}: {s} type not supported", .{ prefix, @typeName(T) });
return error.UnsupportedMetadataType;