Perform option validation
- Dominant language
- Go
- Stars
- 6
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Perform option validation before submitting a job request. Modules expect that options have the right values, otherwise unexpected things may happen. So option validation by the client is currently kind of part of the contract. There are two approaches:
- based on the [data-types API](https://github.com/daisy/pipeline/wiki/WebServiceAPI#data-types)
- based on a [validation API](https://github.com/daisy/pipeline-framework/issues/135)
A third approach is to make validation by the client optional, and always perform validation (again) in the framework (and return a HTTP 400 when validation failed).
Related: https://github.com/daisy/pipeline-cli-go/issues/19
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.