webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

feat: cms model field aliases

Open brunozoric opened this issue 2 years ago • 0 comments

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.

brunozoric avatar Sep 07 '22 21:09 brunozoric