Currently, sequelize-bakery does not take { isEmail: true } validators into account. The inspiration, model_bakery (link to source), uses the fact that Django models use somewhat semantic field types. Sequelize uses validators to constrain a string field into a specific type.
More generally, validators of different kind should be supported, but the primary goal is emails and other frequent and "type-defining" validators (e.g. IP address).
Currently, sequelize-bakery does not take
{ isEmail: true }
validators into account. The inspiration, model_bakery (link to source), uses the fact that Django models use somewhat semantic field types. Sequelize uses validators to constrain a string field into a specific type.More generally, validators of different kind should be supported, but the primary goal is emails and other frequent and "type-defining" validators (e.g. IP address).