-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Describe the story
Create an application configuration utility which imports, validates, and transforms application configuration variables. Use the zod schema validation library. Provides a single module which serves as the source of all application configuration throughout the rest of the application code members.
Update the project documentation to describe this new approach to application configuration usage within application components.
Acceptance criteria
GIVEN the application is running
WHEN a component accesses the application configuration the first time
THEN the configuration is validated against the schema
AND the validated configuration object is returned
WHEN a component access the application configuration subsequent times
THEN the validated configuration object is returned
WHEN configuration validation fails
THEN an Error is thrown with a meaningful message
Additional context
n/a