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

Variable modelFor

ts
const modelFor: typeof fragmentsModelFor = fragmentsModelFor;

Defined in: warp-drive-packages/legacy/src/model-fragments/hooks/model-for.ts:140

The modelFor fallback used to construct a ShimModelClass schema for a type when ModelFragments support is enabled and no real Model subclass is registered for that type.

Released under the MIT License.