Skip to content
module@warp-drive/legacy/model @legacy

Function restoreDeprecatedModelRequestBehaviors() ​

ts
function restoreDeprecatedModelRequestBehaviors(ModelKlass: typeof Model): void;

Defined in: warp-drive-packages/legacy/src/model/-private/model.ts:1957

Restores the pre-RequestManager implementations of save, destroyRecord, and reload onto the given Model subclass, for apps that have not yet migrated off of the deprecated ENABLE_LEGACY_REQUEST_METHODS behaviors.

Parameters ​

ModelKlass ​

typeof Model

Returns ​

void

Released under the MIT License.