Closed stanislavtrifonov88 closed 4 years ago
Rest api should return own objects, not database objects. Hiding persistence (db) implementation from rest api is both security and design issue.
I created a transformer methods for Cars and Contracts to design the object send from the backend. Frontend adjusted as well to the new object structures
Rest api should return own objects, not database objects. Hiding persistence (db) implementation from rest api is both security and design issue.