Open otomn opened 3 years ago
Implement DataServer (There already exists a file called DataLoader, rename it to DataServer)
Cache: contains a map from UID to any domain object
genericRead(obj: any, objClass: Function): any
genericDelete(obj any, objClass: Function): bool
genericCreate(obj any, objClass: Function): Error | null
Update all backend controllers to call DataServer if possible Update will be done with delete then create
Implement DataServer (There already exists a file called DataLoader, rename it to DataServer)
Attribute
Cache: contains a map from UID to any domain object
Functions
Hookup
Update all backend controllers to call DataServer if possible Update will be done with delete then create