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 list factories being analysed with reflection from a DLL causes several issues. When people generate the model they need to be sure to have build before hand the project containing the factories. Otherwise lists aren't generated correctly. Furthermore the release of kinetix-core having different projects, the loading and use of reflection is not possible anymore if we want to keep a unified gen for both frameworks.
The factories should be extracted into json files.
The text was updated successfully, but these errors were encountered:
// StaticListFactory.csusingKinetix.ServiceModel;namespaceProject.Common{/// <summary>Factory des listes statiques.</summary>publicsealedclassStaticListFactory:AbstractListFactory{/// <summary>Obtient si cette factory initialise les listes statiques.</summary>publicoverrideboolIsStatic=>true;/// <summary>Initialisation des listes statiques.</summary>publicoverridevoidInit(){AddTable("MyRefList").AddItem("Value1",new{Code="CODE_1",Label="reference.myRefList.value1"}).AddItem("Value2",new{Code="CODE_2",Label="reference.myRefList.value2"});}}}
The list factories being analysed with reflection from a DLL causes several issues. When people generate the model they need to be sure to have build before hand the project containing the factories. Otherwise lists aren't generated correctly. Furthermore the release of kinetix-core having different projects, the loading and use of reflection is not possible anymore if we want to keep a unified gen for both frameworks.
The factories should be extracted into json files.
The text was updated successfully, but these errors were encountered: