-
Notifications
You must be signed in to change notification settings - Fork 830
Open
Labels
type: featureIssues related to new features.Issues related to new features.
Description
There are quite a few things we should fix/implement before releasing 1.0, some of these will be a breaking change.
Note: this issue will be updated as progress is made towards these goals.
- Features
- adding
ValidationError.toString()
(ValidatidationError .toString() #26) - experimenting to see if we can add support for class method validation (Can we validate arguments going into class methods? #115)
- rethink how groups are handled
- experimenting to see if we can add support for dynaimc constraints (feature: allow passing dynamic constraints to the validate function #76)
- add validation modes (fail on first error) (Feature request: Fail on first ValidationError. #148)
- support i18n for error message (How to customize validation messages globally? #169)
- rething the structure of the error object for easier usage
- add some low level decorator for runtime logic,
GreaterThan
andGreaterOrEquals
decorator or a more generic one what expects a property key and acompareFn
function.
- adding
-
Schema based validation(schema based validation will be deprecatated)-
fix current bugs -
add test coverage -
make every validator available -
add option to generate JSON schema from class metadata -
add support of registering validation schema for target class -
add support of registering custom validations without using decorators - add support for serializing metadata and importing it (so registered metadata can be transferred over the network)
-
- Documentation
- split up docs into sections
- add a documentation site
- add documentation for usage with pure JS
- add documentation for usage with babel + decorators
- add documentation about using error output with Angular's Reactive Forms module (Example for use this awesome module in angular 2 form validation. #69)
- add better docs about custom decorators and validation classes
- Project setup refactor
- split up files, better code oraganziation
- add Prettier for code formatting
- add husky for auto formatting and running tests before commits
- Test setup refactor
- move to Jest (batteries included and out-of-box TS support)
- split test files and move them next to the components they test
Please do not comment things like "+1" or "Me too", but feel free to add your voice.
janis91, MichalLytek, sanex3339, tonyxiao, rafaelss95 and 34 more
Metadata
Metadata
Assignees
Labels
type: featureIssues related to new features.Issues related to new features.