ADT_Frontend
ADT_Frontend copied to clipboard
IRepository: internal state
Some of the methods exposed to adt.ui via IRepository is state that is handled by the backend, eg setKey, setFirstCommit, setCreatedBy
Some others like setUrl, setBranch can be seen as operations on the repository that will call the backend, however, it will just update the values in memory on the frontend.
Or operations should be exposed via the IRepositoryService? Which then will take a IRepository as input?
This encapsulation is difficult, also in the ABAP backend where the ZCL_ABAPGIT_REPO_ONLINE class is too big, and some operations are hidden in random classes 😄