DataViews: Preparation for making the API stable. #67274
Labels
[Feature] DataViews
Work surrounding upgrading and evolving views in the site editor and beyond
[Type] Enhancement
A suggestion for improvement.
In order to be able to stabilize the DataViews package and APIs, we need to work on versioning the different configuration objects that live in that package. This doesn't mean we'll be stabilizing the package soon but at least we'll be ready to do so when we decide that it's ready.
These are the properties that need to support apiVersion and migrations:
view
config inDataViews
fields
config in bothDataViews
andDataForm
(same config)form
config inDataForm
action
config inDataViews
For each of these we need to:
apiVersion
key to the objects (defaulting to 1 if absent)DataViews
andDataForm
One thing we should avoid for the initialization stable release is to offer any public selectors or accessors for view, form, fields and actions. This is to avoid third-party developers assuming a certain shape for these objects while the format itself can evolve over time because of the apiVersion key.
The text was updated successfully, but these errors were encountered: