Skip to content

fix schema key ordering being lost#454

Merged
alexandernorth merged 2 commits into
mainfrom
bugfix/fix-key-ordering
Jun 24, 2026
Merged

fix schema key ordering being lost#454
alexandernorth merged 2 commits into
mainfrom
bugfix/fix-key-ordering

Conversation

@alexandernorth

Copy link
Copy Markdown
Contributor

Key elements were mis-ordered in generated XML, this corrects that but ensures that key/values match correctly.

@alexandernorth alexandernorth requested a review from a team as a code owner June 16, 2026 11:29
@steiler

steiler commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

@alexandernorth there is no test adjustments or additions on the json side is that correct? Are we missing something here?

@alexandernorth

Copy link
Copy Markdown
Contributor Author

@alexandernorth there is no test adjustments or additions on the json side is that correct? Are we missing something here?

My understanding is that JSON does not care about the ordering of the keys, unlike XML. So I think we don't need to do additional checks regarding this

alexandernorth and others added 2 commits June 23, 2026 10:40
Centralize the alphabetical key order used by key-level tree nodes so json/xml export, path building, filter traversal, and blame all pair key names to values consistently.

Co-authored-by: Cursor <cursoragent@cursor.com>
@steiler steiler force-pushed the bugfix/fix-key-ordering branch from 2e691e6 to 88cc95f Compare June 23, 2026 09:11
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexandernorth

Copy link
Copy Markdown
Contributor Author

LGTM

@alexandernorth alexandernorth merged commit d326b0e into main Jun 24, 2026
8 checks passed
@alexandernorth alexandernorth deleted the bugfix/fix-key-ordering branch June 24, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants