Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Option 1:

Option 2:

Option 3:

Description

Linear mapping

Automapping

AbstractController

Pros and cons

(plus) doesn’t need more knowledge for Java Base contributors (more linear)

(minus) makes the controllers ticker

(plus) offer a centralized point for models mapping

(plus) can be customized or disabled where not required

(minus) it needs annotations (less linear)

(minus) it needs adjustments for Swagger documentation

(minus) it binds to a 1:1 mapping that may be useless in the future

(plus) it should simplify the writing of a standard controller

(minus) it works only for controllers managing one Model/DTO

(minus) it binds to a 1:1 mapping that may be useless in the future

(minus) it may lead to a “GOD Class” known problem

Estimated cost

Status
colourGreen
titleSmall

Status
colourGreen
titlesmall

Status
colourGreen
titleSMALL

...