Documentation / @warp-drive/core / build-config/deprecations / DEPRECATE_MANY_ARRAY_DUPLICATES
ts
const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean;
Defined in: warp-drive-packages/build-config/declarations/deprecations.d.ts:399
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