ADT_Frontend icon indicating copy to clipboard operation
ADT_Frontend copied to clipboard

IRepository: internal state

Open larshp opened this issue 7 years ago • 0 comments

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 😄

larshp avatar Aug 29 '18 14:08 larshp