Version 5.2.0 seems to have a breaking change compared to version 5.1.0:
I'm getting a panic with the error "container nesting too deep" (sig.go, line 51). This is due to depthCounter.structDepth being greater than 32. However, this was not an issue prior to version 5.2.0.
The issue can be reproduced by introspecting a struct with more than 32 properties.
- Is this change in behaviour between 5.1.0 and 5.2.0 intentional?
- Is the struct depth limitation of 32 an arbitrary number or is there a reason why it it set to 32?
- Would it be possible to increase the number in a future release?
- Would you consider a merge request that makes the maximum struct depth configurable?