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
The usage of a mutable persistence provider that is used at startup is awkward. It seems better to have the persistence provider established in the constructor.
Expected changes:
Make the persistence provider to use part of the CodegenDataModel constructor (may be null, which means unchanged)
Remove CodegenDataModelProviderInstance (header and cpp files and all linkages), let applications build their own codegen data model provider instead and allocate space for them.
The text was updated successfully, but these errors were encountered:
Note that this means a LOT of file changes, however making applications be responsible of what data model provider they use seems to be the best dependency use (this way it is clear that applications use zap/ember for example, so they provide that one as their underlying model)
andy31415
changed the title
Remove CodegenDataModelInstance and make applications provide theyr codegen data model (likely via a static for example)
Remove CodegenDataModelInstance and make applications provide their codegen data model (likely via a static for example)
Dec 5, 2024
See #36658 (comment)
The usage of a mutable persistence provider that is used at startup is awkward. It seems better to have the persistence provider established in the constructor.
Expected changes:
The text was updated successfully, but these errors were encountered: