Skip to content

fix: serialize provider config with correct YAML key names#43

Merged
marcus merged 1 commit intomainfrom
fix/setup-provider-yaml-keys
Feb 28, 2026
Merged

fix: serialize provider config with correct YAML key names#43
marcus merged 1 commit intomainfrom
fix/setup-provider-yaml-keys

Conversation

@marcus
Copy link
Owner

@marcus marcus commented Feb 28, 2026

Fixes #20. Replaces bulk v.Set("providers", cfg.Providers) with individual field sets to preserve mapstructure tag names in generated YAML config.

@marcus marcus merged commit 519821c into main Feb 28, 2026
2 checks passed
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.

setup: writeGlobalConfig serializes provider fields with wrong YAML key names

1 participant