Skip to content

refactor(config): set default fallbacks and fix unnecessary config loading - #62

Merged
dedyf5 merged 1 commit into
mainfrom
refactor/config
May 29, 2026
Merged

dedyf5 merged 1 commit into
mainfrom
refactor/config

Conversation

@dedyf5

@dedyf5 dedyf5 commented May 29, 2026

Copy link
Copy Markdown
Owner
  • Replace global wire.Value with functional providers (provideGRPCConfig/provideRESTConfig) to prevent unnecessary config loading of unused modules during startup
  • Integrate slog for structured logging within the config package
  • Implement helper functions for default configuration fallbacks (int, uint32, duration)
  • Remove fallback logic from sql and argon2 drivers
  • Adjust Zap log level severity naming from 'warning' to 'warn'

…ading

- Replace global wire.Value with functional providers (provideGRPCConfig/provideRESTConfig) to prevent unnecessary config loading of unused modules during startup
- Integrate slog for structured logging within the config package
- Implement helper functions for default configuration fallbacks (int, uint32, duration)
- Remove fallback logic from sql and argon2 drivers
- Adjust Zap log level severity naming from 'warning' to 'warn'
@dedyf5
dedyf5 force-pushed the refactor/config branch from 05a8608 to b6f5f0a Compare May 29, 2026 03:49
@dedyf5
dedyf5 merged commit 450a025 into main May 29, 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.

1 participant