Implement config check with setting of defaults #17

Open
opened 2019-01-25 03:52:09 +01:00 by krombel · 0 comments
Owner

https://github.com/krombel/matrix-register-bot/issues/4:

It would be nice to implement some checks of the config so the user of the bot can validate its config while configuring.
I am thinking of a class or some other kind of validator which reads the config file and provides

  • some getters to access the configs (which provide defaults if they are unset) or
  • sets all undefined values with defaults when unset
https://github.com/krombel/matrix-register-bot/issues/4: It would be nice to implement some checks of the config so the user of the bot can validate its config while configuring. I am thinking of a class or some other kind of validator which reads the config file and provides - some getters to access the configs (which provide defaults if they are unset) or - sets all undefined values with defaults when unset
krombel added the
enhancement
label 2019-01-25 03:52:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: krombel/matrix-register-bot#17
No description provided.