To do list for Validation
Opened this issue · 2 comments
dmdashenkov commented
In order to catch up with the existing validation mechanisms, this new validation library implementation needs to:
- Cover all the edge cases with integration tests.
- Add support for custom error messages defined via the options. This also includes changing the docs for options. See the error message format in rule.proto. Maybe, as a part of this change, we should move validation options from base into this repo.
- Implement the
(is_required)
constraint; - Implement the
(when)
constraint; - Add support for custom validators written in Java or Kotlin and associated with a proto type on runtime.
- Stop supporting
(validation_for)
feature. Use custom validators instead. - Implement a Gradle plugin that would configure the default validation behaviour for Java projects;
Post v2.0.0-M1
- Support JS and Dart.
alexander-yevsyukov commented
@armiol, let's discuss this issue and our actions on Monday. It's dated, but still relevant in several items.
armiol commented
As discussed vocally, the list of our actions will presumably be as follows:
- Deprecate and remove the 'external" validation as a feature.
- Review the state of the custom error messages once the respective works by @alexander-yevsyukov @yevhenii-nadtochii are done.
- Postpone JS/TS/Dart validation until we are feature-complete with JVM.
- Close this issue.