dbos-inc / dbos-transact

The TypeScript framework for backends that scale
https://docs.dbos.dev
MIT License
335 stars 22 forks source link

Validate dbos-config.yaml against its schema on startup #406

Closed demetris-manikas closed 3 months ago

demetris-manikas commented 3 months ago

Hi. I noticed that the dbos-config.yaml file in not being validated against its schema definition during startup. I believe that validating it and reporting errors will minimize the frustration that a typo can cause. What do you think?

apoliakov commented 3 months ago

Thank you @demetris-manikas, we will take a look

kraftp commented 3 months ago

Yeah, this is a good idea, PR for it: https://github.com/dbos-inc/dbos-transact/pull/408

kraftp commented 3 months ago

Addressed in https://github.com/dbos-inc/dbos-transact/pull/408