Closed vifeng closed 7 months ago
I should opt for add fetch = FetchType.EAGER in venue entity as it is a demo project with few data. Depending on the client and functional requirements I should write different DTO/mapper to return different values. Booking should only return the bookings of the current user. It will be implemented with the security.
Steps to reproduce the bug
get request : localhost:8080/api/bookings
Error
Trace
Expected behavior
should return employee of the venue.
Proposed solution