Compare commits

3 Commits

Author SHA1 Message Date
cuddle-please
2f68163f30 chore(release): 0.0.3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-07-23 09:13:30 +00:00
eaf71fe65b feat: only error on non required values
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-23 11:12:52 +02:00
a525f93093 chore(release): v0.0.2 (#3)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.0.2

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/yourconfig/pulls/3
2025-07-22 09:14:41 +02:00
2 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.0.3] - 2025-07-23
### Added
- only error on non required values
## [0.0.2] - 2025-07-22
### Added

View File

@@ -94,7 +94,7 @@ OUTER:
}
valueStr, err := defaultLogger.Load().Get(ctx, tag.Env)
if err != nil {
if err != nil && tag.Required {
errs = append(errs, fmt.Errorf("field: %s failed to load: %w", field.Name, err))
continue OUTER
}