Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: some config fields are not loading #185

Merged
merged 17 commits into from Dec 2, 2022

Conversation

vjerci
Copy link
Contributor

@vjerci vjerci commented Dec 1, 2022

Description

This pr fixes bug where we weren't using config from file when file was specified.
Viper is actually using mapstructure lib behind the scenes, which means we need to add mapstructure metatags for settings being loaded from file

Checklist

  • I've added test coverage that shows my fix or feature works as expected.
  • I've updated or added documentation if required.
  • I've included usage information in the description if CLI behavior was updated or added.
  • PR title follows Conventional Commits format

@swarmia
Copy link

swarmia bot commented Dec 1, 2022

✅  Linked to AMA-3303 · Some config fields are not loading
➡️  Part of AMA-2947 · OSS - Curio CLI

@vjerci vjerci added bug Something isn't working echoes/effort: M and removed echoes/initiative: curio labels Dec 1, 2022
@vjerci vjerci marked this pull request as ready for review December 1, 2022 14:24
@vjerci vjerci requested review from cfabianski, elsapet and spdawson and removed request for cfabianski and elsapet December 1, 2022 14:24
@cfabianski cfabianski merged commit 0174c2c into main Dec 2, 2022
@cfabianski cfabianski deleted the AMA-3303-some-config-fields-are-not-loading branch December 2, 2022 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants