-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce field-metadata options field to have UPPERCASE values for SELECT fields for standard objects #4380
Comments
check unicity |
Still relevant? |
@FelixMalfait Yes! @ijreilly FYI |
Here is the GitStart Ticket for this issue: https://clients.gitstart.com/twenty/5449/tickets/TWNTY-4380 |
@charlesBochet why do we need that? |
Sorry, this was not very clear. I mean before saving the value in DB we need to make sure it's in uppercase. One way to do it would be to do value === value.toUpperCase() |
I've updated the description @ijreilly |
Hi, I'm unable to locate the affected files to resolve this. Can get a lead please? @Weiko |
Hi @Cyanhead, this is pretty much this PR #4381 |
Scope & Context
Enforce field-metadata options field to have UPPERCASE values for SELECT fields to have consistent format in the DB for enum values.
Technical inputs
Probably check in the FieldMetadata decorator.
If options is provided, try to validate and throw if it's not correct (would throw during metadata sync).
The text was updated successfully, but these errors were encountered: