You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix#21: use Pydantic for validation of env config (#101)
The application now features comprehensive validation for the Environment
configuration (env.toml) using Pydantic. This ensures all configuration files strictly
adhere to the required schema, enforcing correct data types for fields (e.g., paths,
URLs, network addresses) and immediately catching errors like missing keys or
incorrect values. This change stabilizes the configuration loading process and
eliminates runtime errors caused by misconfigured environments.
Signed-off-by: sushant-suse <[email protected]>
The application now features comprehensive validation for the Environment Configuration (`env.toml`) using Pydantic. This ensures all configuration files strictly adhere to the required schema, enforcing correct data types for fields (for example, paths, URLs, network addresses) and immediately catching errors like missing keys or incorrect values. This change stabilizes the configuration loading process and eliminates runtime errors caused by misconfigured environments.
0 commit comments