Closed lev112 closed 9 months ago
Hi @lev112 , which version are you using? I have a similar issue after upgrading to 4.1.1 which includes the changes of this PR #25. Up to 4.0.0 works fine without panic
@gegaryfa I'm using the latest (4.1.1)
@bxcodec is this intended behaviour?
Weird, I will try to debug. Sorry for the slow/late response, I was packed for the past weeks. Hope I can solve it before the end of the week
Hi @lev112 and @gegaryfa I fixed it in #36 Will release a new version soon, please help to check again with your use case, thanks. *feel free to re-open this issue if it's still happening
given this struct
the following code will fail
with an error:
(this is how I would expect it to behave)
if I try to ignore the fields that include an interface:
I would expect the faking to work, and leave the
B
field empty, but the code will panic withadding
will solve that problem, but the panic is very confusing, and there is no hint of what is the problem