Skip to content

Set abortEarly: false in Joi configuration to show all validation errors #261

Description

@JSE19

Description: The Joi validation in config.module.ts uses abortEarly: true (the default). If multiple environment variables are missing or invalid, only the first error is shown. Developers must fix one error at a time, making debugging slow and frustrating.
Acceptance Criteria:

  • Set abortEarly: false in the Joi validation options
  • Verify all validation errors are reported in a single message
  • Update the error display format to clearly list all missing/invalid variables
  • Test with multiple missing env vars and verify all are reported

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions