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: warp-drive-packages/build-config/src/deprecations.ts:423

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.