Closed voytech closed 1 year ago
TemplateContext should not have generic type for RenderingContext. RenderingContext is export scope property and can be moved to export parameter list. This will allow to drop casts on TemplateContext.
Attribute merging strategy:
Layouting.
Drop loading of ExportTemples using ServiceLoader. It is not required complexity. It is enough that each model declares method:
getExportTemplate
ServiceLoder should be used only for DocumentFormat related infrastructure as this is only pluggable.
As long as we have model we should already know how to export it by its type.
A drastic change. Documents should be top level API that can include 'Aggregate Root' model sub apis ( sub projects, sub models, sub operations , sub states)
Document API should be different module - or even different project that holds general contracts. Responsibilities should be:
Api should provide currently minimum set of components:
When above feature will be available, tabulate eventually becomes document DSL library.
Sub-tasks: