nimble_options
nimble_options copied to clipboard
A tiny library for validating and documenting high-level options. 💽
Hi, this adds options types to the documentation generated with `NimbleOptions.docs/2`.
As I was looking for a recursive type, for my use case to validate a recursive tree. I discovered that #3 added recursive type support using the lazy function but...
Rather than just returning the first error, return an error for each field. When raising an exception, raise based on the the first error. Fixes #45
@whatyouhide initial attempt at adding failed validation to `NimbleOptions.ValidationError`. Only implemented support for `{:type, :integer}` so I can get a sanity check on whether you think I'm on the right...
I'd like to be able to perform some additional processing when validation fails for specific reasons. This is difficult to do considering there's no way to know what caused the...