schemars icon indicating copy to clipboard operation
schemars copied to clipboard

Bug in Derive Macro

Open JeremyRubin opened this issue 3 years ago • 2 comments
trafficstars

See: https://github.com/rust-bitcoin/bitcoin_hashes/pull/135

Files: OUT.txt OUT_Tests.txt

Essentially the type somehow gets confused and outputs an array when it should pass through to a string.

Perhpas a discrepency in handling generic structs v.s. non generic?

JeremyRubin avatar Dec 20 '21 21:12 JeremyRubin

This issue comes up after version 0.8.3

JeremyRubin avatar Dec 20 '21 21:12 JeremyRubin

Could you provide us with a bit more of an explanation and what exactly goes wrong? Because I have no idea where to even start with this. The linked issue does not describe the problem and the files you are very big. So a better description is needed.

ralpha avatar Dec 22 '21 16:12 ralpha