pyeve / eve-sqlalchemy

SQLAlchemy data layer for Eve-powered RESTful APIs
http://eve-sqlalchemy.readthedocs.io
Other
234 stars 70 forks source link

Added validation for UUID data type #57

Closed mandarvaze closed 9 years ago

mandarvaze commented 9 years ago

Reference: this query on the mailing list

amleczko commented 9 years ago

I don't think this is needed. You can add custom validators that can extend existing ones, so ie:


class MyValidator(ValidatorSQL, UUIDValidator)
    """My custom validator"""

app = Eve(validator=MyValidator, data=SQL)