iTop
iTop copied to clipboard
N°6974 - Flatten classes in datamodel
See Bug N°6974
ModelFactory updated to store data models classes in a flat way (before it was hierarchical). Main update is LoadDelta not storing the classes under their parent class in the XML tree. The behavior must not change so:
- The compiler should generate the same code
- The assumptions like deleting a class suppress also all the children should be kept
- ModelFactory API should behave the same as before
There is obviously still some work going on @eespie can you please change the pr to draft, and revert when it will be ready ?
Also, https://github.com/Combodo/iTop/blob/4e53deec9d96093df87b233249a9c071ae458d40/.github/pull_request_template.md?plain=1#L3-L5