Skip to content

Add validation for missing dbAdapter option#968

Open
Bitshifter-9 wants to merge 1 commit into
hoodiehq:masterfrom
Bitshifter-9:fix/validate-dbadapter-option
Open

Add validation for missing dbAdapter option#968
Bitshifter-9 wants to merge 1 commit into
hoodiehq:masterfrom
Bitshifter-9:fix/validate-dbadapter-option

Conversation

@Bitshifter-9

Copy link
Copy Markdown
  • Add defensive check to prevent crashes when dbAdapter is undefined/null
  • Throw clear error message when dbAdapter is missing in non-dbUrl/inMemory mode
  • Add test case to verify error handling for missing dbAdapter
  • All 223 tests passing with 100% coverage
    Add validation for missing dbAdapter option #967 967

- Add defensive check to prevent crashes when dbAdapter is undefined/null
- Throw clear error message when dbAdapter is missing in non-dbUrl/inMemory mode
- Add test case to verify error handling for missing dbAdapter
- All 223 tests passing with 100% coverage
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