---
url: https://canary.warp-drive.io/api/@ember-data/legacy-compat/utils.md
description: >-
  Deprecated helpers for normalizing and checking resource types and IDs
  (`formattedType`, `formattedId`, `expectId`, `isEquivType`, `isEquivId`) and
  configuring mismatch reporting.
---

&#x20;&#x20;

:::warning Legacy package
`@ember-data/legacy-compat` is a legacy package. It bridges Models, Adapters, and Serializers to the `RequestManager` and cache; new code should skip it and start from [`@warp-drive/core`](/api/@warp-drive/core/) with schemas, Handlers, and request builders.
:::

Utilities for helping to migrate to stricter
and more consistent use of IDs and types.

## Deprecated
