Skip to content

Fix nested export - #32

Merged
honzabubenik merged 3 commits into
mainfrom
fix_nested_export
Aug 8, 2025
Merged

Fix nested export#32
honzabubenik merged 3 commits into
mainfrom
fix_nested_export

Conversation

@honzabubenik

Copy link
Copy Markdown
Contributor

No description provided.

## Features
- Handle nested object keys by building nested objects based on key segments
- Preserve flat structure for single-segment keys that contain dots

## Bug fixes
- Fix issue where `key` variable was not properly updated in the loop

## Refactoring
- Simplify logic for handling flat vs. nested keys
- Remove unnecessary variable assignments
@github-actions

github-actions Bot commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 95.64% 527 / 551
🔵 Statements 95.64% 527 / 551
🔵 Functions 96.07% 49 / 51
🔵 Branches 89% 89 / 100
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/api/methods/api-export.ts 100% 100% 100% 100%
Generated in workflow #55 for commit 6bb07cd by the Vitest Coverage Report Action

- Add version, maintainer, license, coverage, and minzipped size badges to the README
- Update the package description to better reflect the purpose of the API client
@honzabubenik
honzabubenik merged commit 27cde8d into main Aug 8, 2025
1 check passed
@honzabubenik
honzabubenik deleted the fix_nested_export branch August 8, 2025 21:34
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.

2 participants