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

Function registerDerivations() ​

ts
function registerDerivations(schema): void;

Defined in: warp-drive-packages/legacy/src/model/migration-support.ts:436

A function which registers the necessary derivations to support the LegacyMode features of @warp-drive/legacy/model while migrating to WarpDrive.

This must be called in order to use the fields added by withDefaults or withRestoredDeprecatedModelRequestBehaviors.

Parameters ​

schema ​

SchemaService

The schema service to register the derivations with.

Returns ​

void

Released under the MIT License.