Open donaldgray opened 3 years ago
Protagonist uses Options pattern for accessing strongly typed appSettings.
These should be validated on startup to ensure apps are only started when config meets expected requirements.
See DataAnnotations validation and FluentValidator validation options - there are likely alternatives too.
Note that an initial implementation of this has been added to API and it is preventing startup if validation fails but error/reason is not output. This may be down to serilog log config but unsure
Protagonist uses Options pattern for accessing strongly typed appSettings.
These should be validated on startup to ensure apps are only started when config meets expected requirements.
See DataAnnotations validation and FluentValidator validation options - there are likely alternatives too.