Remove "response object" functionality (aka model)

Created on 7 March 2023, almost 2 years ago
Updated 13 July 2024, 5 months ago

Problem/Motivation

The response object functionality was originally intended to extend one class with simple ->get[property name] and set[property name]. These methods would then be converted into properties in the api response for GET, and/or saved when a POST was sent.

It then ballooned into a number of controller methods needed to load multiple, save multiple, an entity wrapper class, traits to handle regular entity save functionality, access handlers, exceptions, warning messages, etc.

When it was created originally it was already re-inventing the wheel. The rest module has had all these capabilities, though required a little bit more overhead in initial development for custom api responses.

Proposed resolution

Remove all response object functionality. The usage for this module is pretty low right now, and the usage for this particular functionality is even lower. The controller functionality never made it to the contrib version.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States asherry

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024