When using a SchemaCustomizer with an embedded struct field that has more fields than the root object, the generator panics. It seems like the issue is that the field index is accessed from the parent based on the index of the embedded.
I have a test showing this here: austince@f93a9da
When using a
SchemaCustomizerwith an embedded struct field that has more fields than the root object, the generator panics. It seems like the issue is that the field index is accessed from the parent based on the index of the embedded.I have a test showing this here: austince@f93a9da