You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature you'd like to see implemented
Having a check inside model field options to store data in lowercase and trimmed. These are some common use cases and one should not required to use a setter for every field
Example:
email:{
type: Sequelize.STRING,
trim: true, // FLAG
lower: true, // FLAG
allowNuLll:false
}
Describe why you would like this feature to be added to Sequelize
Is this feature dialect-specific?
No. This feature is relevant to Sequelize as a whole.
Yes. This feature only applies to the following dialect(s):
Would you be willing to resolve this issue by submitting a Pull Request?
No, I don't have the time, and I understand that I will need to wait until someone from the community or maintainers is interested in implementing my feature.
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered:
We intend on expanding the validation API (#15497) to support more validation libraries like Joi, Zod, etc. These libraries include features like lowercasing and trimming so this feature request could be covered by them
ephys
removed
the
pending-approval
Bug reports that have not been verified yet, or feature requests that have not been accepted yet
label
Mar 23, 2024
Issue Creation Checklist
Feature Description
Describe the feature you'd like to see implemented
Having a check inside model field options to store data in lowercase and trimmed. These are some common use cases and one should not required to use a setter for every field
Example:
Describe why you would like this feature to be added to Sequelize
Is this feature dialect-specific?
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: