module@warp-drive/legacy/model @legacy
Function restoreDeprecatedModelRequestBehaviors()
ts
function restoreDeprecatedModelRequestBehaviors(ModelKlass): void;Defined in: warp-drive-packages/legacy/src/model/-private/model.ts:1956
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