Closed Adjective-Object closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.45%. Comparing base (
a6b60d7
) to head (47c706f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks!
The current implementation of interface checks only handles cases where the root type implements json.Marshal. If it does not, the type is "unpacked" to a raw struct type, which is then checked for json: tags.
This fails when the root type does not implement json.Unmarshal, but is a transparent container for a type that contains a json.Marshal; e.g.
[]MyType
ormap[string]MyType
whereMyType
implementsjson.Marshal
.