Skip to content

Conversation

Kem-Gov
Copy link
Contributor

@Kem-Gov Kem-Gov commented Sep 25, 2025

Description

This PR adds tests to ensure that service configurations with embedded struct fields that are tagged with mapstructure:",squash" will be flattened and mapped correctly.

It tests configuration mapping from both environment variables as well as from file.

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

@Kem-Gov Kem-Gov changed the title [config] Automatically flatten embedded struct fields [config] Automatically flatten embedded struct fields on service configurations Sep 26, 2025
@Kem-Gov Kem-Gov changed the title [config] Automatically flatten embedded struct fields on service configurations ⚙️ [config] Add tests for service configurations with embedded structs tagged with mapstructure:",squash" Sep 26, 2025
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.

1 participant