You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ProblemDetails.Extensions json tag is dead code (MarshalJSON never uses it) #19
but the type's custom `MarshalJSON` never serializes a nested `"extensions"` key — it flattens each entry to the top level instead (correctly, per RFC 9457). The struct tag is misleading: anyone reading the type definition without also reading `MarshalJSON` would reasonably expect a nested `extensions` object in the output, and it never appears.
Minor, but worth a fix — either drop the tag (since `MarshalJSON` bypasses it entirely) or replace it with a comment noting it's vestigial.
Activity