Skip to content

Expect array indices in JSON decode error paths on Go 1.27 - #386

Merged
merlinfuchs merged 1 commit into
mainfrom
merlin/fix-json-error-paths
Oct 24, 2026
Merged

merlinfuchs merged 1 commit into
mainfrom
merlin/fix-json-error-paths

Conversation

@merlinfuchs

Copy link
Copy Markdown
Owner

Go 1.27's encoding/json includes array indices in UnmarshalTypeError.Field, which broke TestMessageWithActionsDecodeError on main after #385. Kept the indices since they point users at the exact embed or component, and updated the test.

@merlinfuchs
merlinfuchs merged commit 7f7aebe into main Oct 24, 2026
4 checks passed
@merlinfuchs
merlinfuchs deleted the merlin/fix-json-error-paths branch October 24, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant