Closed paralaxsd closed 1 year ago
Very well spotted! Sorry, yeah - I forgot about that case when fixing another bug where struct field lists incorrectly included fields from nested types, and the resulting code was overenthusiastic about not including anything it didn't think was a direct child of the struct being emitted.
Thanks very much for tracking that down - should hopefully be fixed now!
Perfect, can confirm that this fixes the regression. Thanks for the super quick fix!
Hi, I found that for recent commits of
dear_bindings
, generated .json files will miss field entries that are enclosed in conditional groups. One example for that is the following excerpt from theImGuiIO
struct (v1.89.1):The json output of dearbindings is now missing the corresponding metadata:
I bisected the issue and found that it is first introduced at feef033. I hope that helps! :)