Skip to content

Conversation

@vim89
Copy link
Owner

@vim89 vim89 commented Nov 9, 2025

Add application configuration with Typesafe Config and HOCON

  • Functional config loader with Either error handling and ADT error types
  • Environment profile support (dev/test/prod via CASK_ENV)
  • Type-safe accessors for string/int/boolean/long/double with optional variants
  • Config example showing usage and environment overrides
  • Updated todoDb example to use config for database path and initial data
  • Unit Tests

vim89 added 4 commits November 9, 2025 22:21
- Functional config loader with Either-based error handling and ADT error types
- Environment profile support (dev/test/prod) via CASK_ENV variable
- Type-safe accessors for string/int/boolean/long/double with optional variants
- Config example showing HOCON usage and environment overrides
- Updated todoDb example to use config for database path and initial data
- Comprehensive test coverage with 7 tests for all config features
- Cross-compiles across Scala 2.12, 2.13, 3.3.4, 3.7.3
- Functional config loader with Either-based error handling and ADT error types
- Environment profile support (dev/test/prod) via CASK_ENV variable
- Type-safe accessors for string/int/boolean/long/double with optional variants
- Config example showing HOCON usage and environment overrides
- Updated todoDb example to use config for database path and initial data
- Comprehensive test coverage with 7 tests for all config features
- Cross-compiles across Scala 2.12, 2.13, 3.3.4, 3.7.3
@vim89 vim89 merged commit 2f0f324 into master Nov 9, 2025
6 checks passed
@vim89 vim89 deleted the feature/application-config branch November 9, 2025 17:59
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.

2 participants