Skip to content
module@warp-drive/core/build-config/deprecations

Variable DEPRECATE_MANY_ARRAY_DUPLICATES sincev5.3 ​

ts
const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean;

Defined in: node_modules/.pnpm/@warp-d_25f56f2729dd79700790d78740333f27/node_modules/@warp-drive/build-config/dist/deprecations.d.ts:400

ember-data:deprecate-many-array-duplicates

When the flag is true (default), adding duplicate records to a ManyArray is deprecated in non-production environments. In production environments, duplicate records added to a ManyArray will be deduped and no error will be thrown.

When the flag is false, an error will be thrown when duplicates are added.

Until ​

6.0

Released under the MIT License.