amosproj / amos2021ss07-bike-nest

MIT License
1 stars 0 forks source link

Better Error Handling for Booking Service #92

Closed JodelLisa2Point0 closed 3 years ago

rmandlx commented 3 years ago

During Frontend Testing we noticed, that the Booking Service doesn't really validate the Input it gets. For example if no BikenestId is set in a request to /booking/add then an exception happens inside the service. Therefore the result to the frontend is an internal server error instead of a meaningful error message. An example how we could fix this, is already done in usermgmt service with the Valid Annotations.

rmandlx commented 3 years ago

Fixed d0dddae