An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Deprecated in favor of Athena's [Validator](https://github.com/athena-framework/validator) component.

# Assert
[![Latest release](https://img.shields.io/github/release/Blacksmoke16/assert.svg?style=flat-square)](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