Documentation / @warp-drive/build-config / deprecations / DEPRECATE_MANY_ARRAY_DUPLICATES
ts
const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean = true;
Defined in: deprecations.ts:407
ember-data:deprecate-many-array-duplicatesWhen 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.
Since
5.3
Until
6.0