Skip to content

Fix info.json in subfolder not overriding info.json in top-level folder#26044

Open
bosjaH wants to merge 1 commit intoqmk:developfrom
bosjaH:fix-json-overriding
Open

Fix info.json in subfolder not overriding info.json in top-level folder#26044
bosjaH wants to merge 1 commit intoqmk:developfrom
bosjaH:fix-json-overriding

Conversation

@bosjaH
Copy link
Copy Markdown

@bosjaH bosjaH commented Feb 28, 2026

This fixes an issue where more specific json configuration files could not override settings set at a more general level.

Description

The only non-test change I made is reverse the order in which merge_info_json processes files. The issue is that the result from the find_info_json is ordered from most specific (child) to most general (parent).

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

#Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@bosjaH bosjaH changed the title Fix info.json in subfolder not overridding info.json in top-level folder Fix info.json in subfolder not overriding info.json in top-level folder Feb 28, 2026
@drashna drashna requested review from a team and zvecr March 4, 2026 19:43
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.

1 participant