conform icon indicating copy to clipboard operation
conform copied to clipboard

Panic when a struct (Without any conform struct tag) has a []uint

Open agity7 opened this issue 9 months ago • 0 comments

Hello, I keep receiving a panic when a struct has a []uint.

Screenshot 2024-05-27 at 4 39 14 PM

This causes a panic.

Screenshot 2024-05-27 at 4 40 25 PM

Reason why a struct without any conform struct tag is passed to conform.Strings: That is because I use a general decoder to decode incoming json payloads, and depending on the struct payload is decoded to, some might or might not have conform tag. But this should not cause the panic I encounter.

Thanks.

agity7 avatar May 27 '24 20:05 agity7