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
In the DSL of MOST we have entity fields and variables (config settings). In the generated modules we use Forms for both areas (editing an entity vs. changing the config).
We should remove variables and instead reuse the entity field elements (like StringField or EmailField) for modeling configuration settings, too.
The generator can still generate the current config pages from that, as there is still a big difference: modvars described in a model are not contained by an entity element, but by a modvars element. So the idea of this ticket is to get rid of modvar field type elements (like IntegerVar or StringVar), as these seem to be redundant.
Benefits:
no additional / special model elements requiring separate processing in all layers
several existing constraints, options and behavioural extensions can be reused for config settings
less elements needed in the ModuleStudio editors palette
DSL tasks:
change meta model to allow normal fields as children of variable containers
update validation constraints accordingly
a field does not necessarily have a data object (mapped superclass, entity) anymore
In the DSL of MOST we have entity fields and variables (config settings). In the generated modules we use Forms for both areas (editing an entity vs. changing the config).
We should remove variables and instead reuse the entity field elements (like StringField or EmailField) for modeling configuration settings, too.
The generator can still generate the current config pages from that, as there is still a big difference: modvars described in a model are not contained by an entity element, but by a modvars element. So the idea of this ticket is to get rid of modvar field type elements (like IntegerVar or StringVar), as these seem to be redundant.
Benefits:
DSL tasks:
Tooling tasks:
Generator tasks:
PersistenceTransformer
AppSettings
classload()
andsave()
both using theVariableApi
load
inside constructorcomposite
property is still properly handledListEntriesHelper
and reuseListEntryValidator
UploadHelper
save
as part of form submission handlingAppSettings
asdata_class
for the settings form typeAccountDeletionHandler
property)#139 is about removing meta model support for special modvar elements afterwards.
The text was updated successfully, but these errors were encountered: