Closed haulmont-git closed 6 years ago
Exposing services in REST have many limitations such as:
According to feedback, developers usually end up with creating custom Spring REST Controllers:
https://www.cuba-platform.com/discuss/t/there-is-a-way-to-generate-html-from-a-rest-api-call/3185/2 https://www.cuba-platform.com/discuss/t/how-to-restrict-rest-api-v2-to-allow-post-only/3166
So instead of reinventing spring-mvc within our REST services maybe we need to enhance custom controllers usage, here are some ideas on it:
Original issue: https://youtrack.haulmont.com/issue/PL-10144
Issue moved to cuba-platform/cuba #799 via ZenHub
Exposing services in REST have many limitations such as:
According to feedback, developers usually end up with creating custom Spring REST Controllers:
https://www.cuba-platform.com/discuss/t/there-is-a-way-to-generate-html-from-a-rest-api-call/3185/2 https://www.cuba-platform.com/discuss/t/how-to-restrict-rest-api-v2-to-allow-post-only/3166
So instead of reinventing spring-mvc within our REST services maybe we need to enhance custom controllers usage, here are some ideas on it:
Original issue: https://youtrack.haulmont.com/issue/PL-10144