Describe the bug
When using model with condecimal type , it is not doing any validation when incorrect data is passed
To Reproduce
from dataclasses_avroschema import types
from dataclasses_avroschema.pydantic import AvroBaseModel
class User(AvroBaseModel):
money: types.condecimal(max_digits=3, decimal_places=2)
print(User.fake(money=20111111111111.312222))
Expected behavior
It should result in validation error
Describe the bug
When using model with condecimal type , it is not doing any validation when incorrect data is passed
To Reproduce
from dataclasses_avroschema import types
from dataclasses_avroschema.pydantic import AvroBaseModel
class User(AvroBaseModel):
money: types.condecimal(max_digits=3, decimal_places=2)
print(User.fake(money=20111111111111.312222))
Expected behavior
It should result in validation error