zml/aio: add bool handling in struct population within populateStruct
This commit is contained in:
parent
1068d0bb33
commit
4b7e618b43
@ -427,6 +427,10 @@ fn _populateStruct(
|
|||||||
},
|
},
|
||||||
.void => true,
|
.void => true,
|
||||||
.@"union" => true,
|
.@"union" => true,
|
||||||
|
.bool => {
|
||||||
|
obj.* = undefined;
|
||||||
|
return true;
|
||||||
|
},
|
||||||
else => if (required) {
|
else => if (required) {
|
||||||
log.err("{s}: {s} type not supported", .{ prefix, @typeName(T) });
|
log.err("{s}: {s} type not supported", .{ prefix, @typeName(T) });
|
||||||
return error.UnsupportedMetadataType;
|
return error.UnsupportedMetadataType;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user