Skip to content

feat: preserve unknown config keys in extensions#1712

Open
extrasmall0 wants to merge 1 commit intomicrosoft:mainfrom
extrasmall0:fix-config-loader-extensions
Open

feat: preserve unknown config keys in extensions#1712
extrasmall0 wants to merge 1 commit intomicrosoft:mainfrom
extrasmall0:fix-config-loader-extensions

Conversation

@extrasmall0
Copy link
Copy Markdown

Summary

  • add an extensions field to ConfigurationLoader for downstream-owned config
  • route unknown top-level keys from from_dict() into extensions instead of raising TypeError
  • allow callers to merge explicit extensions with unknown top-level keys
  • add coverage for passthrough, merge, and validation behavior

Testing

  • uv run pytest tests/unit/setup/test_configuration_loader.py -q

Closes #1652

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.

Make ConfigurationLoader tolerate unknown top-level keys for downstream framework configs

1 participant