Skip to content

Fix Unchecked Unwrap() Calls in JSON Property Navigation#22

Open
tembo[bot] wants to merge 2 commits intomainfrom
tembo/unchecked-unwrap-calls-in-nested-property-navigation
Open

Fix Unchecked Unwrap() Calls in JSON Property Navigation#22
tembo[bot] wants to merge 2 commits intomainfrom
tembo/unchecked-unwrap-calls-in-nested-property-navigation

Conversation

@tembo
Copy link
Copy Markdown

@tembo tembo Bot commented Jun 23, 2025

Description

Addresses risky unwrap() calls in body_to_rows function that could cause runtime panics when navigating nested JSON properties.

Changes

  • Implemented robust error handling for nested property access
  • Added pattern matching to gracefully handle missing or invalid JSON structures
  • Replaced unchecked unwrap() calls with safer navigation logic

Want me to make any changes? Add a review or comment with @tembo and i'll get back to work!

tembo.io

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.

0 participants