New
v0.1.0
- Added
Drops.Contractmodule for defining validation schemas with additional rules - Added
Drops.Validatormodule for running validation functions against input - Added
Drops.Validator.Messages.DefaultBackendthat's configured by default in contracts - Added
Drops.Typesmodule with the following built-in types:Drops.Types.Type- basic typeDrops.Types.List- a list if member typeDrops.Types.Map- a map with typed keysDrops.Types.Sum- a composition of two typesDrops.Types.Cast- a type that defines from-to casting types and caster options
- Added
Drops.Predicatesmodule which provides many common predicate functions likefilled?,gt?,size?etc. - Added
Drops.Castersmodule which provides common type casting functions that can be used with the built-in types