Validate the Configuration with Hibernate Validation #69

Open
opened 2019-11-01 01:22:51 +00:00 by Ghost · 0 comments
Ghost commented 2019-11-01 01:22:51 +00:00 (Migrated from codeberg.org)

Sub-Project

This is regarding:

  • core
  • validation

Description

Commandler should allow the validation API to be used on configuration objects to ensure properties are set as they should during runtime.

Something we'll have to figure out is if we should just merge validation and core to allow this, if the configuration loading implementation needs to be replaceable at runtime so the validation API can override it.

<!-- You'll see comments around here, don't mind these; they won't get displayed! Please take requests for help anywhere but the issue board, this is reserved for tasks, feature requests, or bug reports. If you are in need of help, please try ask on StackOverflow/Reddit, or join the Discord. --> <!-- Can you specify which sub-project(s) this is relevant to? If you don't know, or this is a proposal for a new sub-project, you can delete this. --> ### Sub-Project This is regarding: * core * validation <!-- Explain what this is about, try to use full sentences, and make your point clear. If this is a feature request, please try to make the motivation behind the request clear. If it's a bug report, please make sure we have all the information required to reproduce the bug. --> ### Description Commandler should allow the validation API to be used on configuration objects to ensure properties are set as they should during runtime. Something we'll have to figure out is if we should just merge validation and core to allow this, if the configuration loading implementation needs to be replaceable at runtime so the validation API can override it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SethFalco/commandler#69
No description provided.