https://github.com/blacksmoke16/assert
Extensible annotation based object validation library
https://github.com/blacksmoke16/assert
annotations crystal validation
Last synced: about 1 month ago
JSON representation
Extensible annotation based object validation library
- Host: GitHub
- URL: https://github.com/blacksmoke16/assert
- Owner: Blacksmoke16
- License: mit
- Archived: true
- Created: 2019-08-20T23:06:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T21:16:01.000Z (over 4 years ago)
- Last Synced: 2025-02-13T00:33:55.968Z (3 months ago)
- Topics: annotations, crystal, validation
- Language: Crystal
- Homepage: https://blacksmoke16.github.io/assert/Assert.html
- Size: 117 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - assert - Extensible annotation based object validation library (Validation)
README
# Deprecated in favor of Athena's [Validator](https://github.com/athena-framework/validator) component.
# Assert
[](https://github.com/Blacksmoke16/assert/releases)Extensible annotation based object validation library based on [Symfony Validation Constraint Annotations](https://symfony.com/doc/current/reference/constraints.html).
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
assert:
github: blacksmoke16/assert
```## Documentation
Everything is documented in the [API Docs](https://blacksmoke16.github.io/assert/Assert.html).
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [Blacksmoke16](https://github.com/Blacksmoke16) Blacksmoke16 - creator, maintainer