Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't panic when array type is used for path segment #3039

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

jplatte
Copy link
Member

@jplatte jplatte commented Nov 19, 2024

Motivation

Closes #3038.

Solution

Return a deserialization error instead of panicking.

@jplatte jplatte requested review from yanns and mladedav November 19, 2024 20:28
@jplatte jplatte enabled auto-merge (squash) November 19, 2024 20:54
@jplatte jplatte merged commit 9517dec into main Nov 19, 2024
18 checks passed
@jplatte jplatte deleted the jplatte/array-path-value-no-panic branch November 19, 2024 20:57
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.

Hit unreachable code when deserializing a [char; 2] inside Path
2 participants