webiny-js
webiny-js copied to clipboard
feat: cms model field aliases
Changes
Umbrella PR for the CMS Model Field Aliases.
To minimise the amount of changes, existing fieldId
property will be used as an alias. We could say it is now changeable field identifier. New property storageId
was introduced as a path to the value in the database.
How Has This Been Tested?
Jest, cypress and manually.
Documentation
Existing user projects will need to add the storageId
in their existing field definitions. New fields will not require that because we will auto-generate the storageId
.