Skip to content
module@ember-data/model Legacy Package

Legacy package

@ember-data/model is a legacy package. Model classes are no longer encouraged; new code should define schemas with @warp-drive/core. Apps that still need Models should install them through @warp-drive/legacy rather than this package.

For an app still on these packages, see Legacy Package Setup.

This package provides runtime classes for use as a source of ResourceSchema and as a ReactiveResource for older "legacy" EmberData/WarpDrive configurations.

It re-exports @warp-drive/legacy/model, whose documentation covers defining Models, why they are legacy and what replaces them.

Released under the MIT License.