PraveenMathew92 / rentals

A reactive api using spring web flux for any rental service
0 stars 1 forks source link

Error handling #3

Open cprasenj opened 5 years ago

cprasenj commented 5 years ago
  1. There is no error handling in the code.
  2. There is no validation in asset object(what are the business rules)
  3. all the methods from the controller to dal are void.
PraveenMathew92 commented 5 years ago

Any business rules on the asset object?

PraveenMathew92 commented 5 years ago

Should the category field in the asset be a string or should it be something else

PraveenMathew92 commented 5 years ago

The following are the fields in the asset category:

  1. Maker: the producer of the asset or the author in case of books and the singers incase of music
  2. Type: The material in case of furniture, residential and commercial in case of real estate. 3 Size: the duration of the movie, number of pages in the book and the size of the property in real estate.