Closed DaTrader closed 2 years ago
Btw, another issue all together, but see the decode/2
function in the my defimpl_ex? It needs to be copy-pasted for each such defimpl_ex although being the same. I tried defining it as a __using__
macro in the JsonDecoder module and using it from the defimpl_ex but it does not work that way. Your defimpl_ex insists it's defined directly in it. Can this too be accommodated?
Thanks
I see the issue was already solved, but the README.md is not updated to installing the latest release (still stuck at 0.3.0).
The code below compiles and works, but gives:
warning: unused alias MyStruct
which can be avoided by removing the alias and specifying the full module name in defimpl_ex, but it'd be nice if there wasn't a warning in the first place.