Skip to content

fix: correct Redis config validation logic - #35

Merged
TupiC merged 1 commit into
TupiC:mainfrom
prkomb:fix/redis-config-validation
Jun 29, 2025
Merged

TupiC merged 1 commit into
TupiC:mainfrom
prkomb:fix/redis-config-validation

Conversation

@prkomb

@prkomb prkomb commented Jun 26, 2025 •

Copy link
Copy Markdown
Contributor

Changes

  • Separate redisConfig existence and type validation into better checks
  • Fix logical OR condition that always evaluated to true
  • Now properly validates redisConfig as string OR object when provider is redis
  • Improves error messages for better debugging

- Separate redisConfig existence and type validation into distinct checks
- Fix logical OR condition that always evaluated to true
- Now properly validates redisConfig as string OR object when provider is redis
- Improves error messages for better debugging
@TupiC
TupiC merged commit 79a3722 into TupiC:main Jun 29, 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.

2 participants