Skip to content

Commit

Permalink
docs(data): change 'enableChangeTracking' reference to `noChangeTrack…
Browse files Browse the repository at this point in the history
…ing`

change 'enableChangeTracking' reference to `noChangeTracking` and invert flag from 'false' to 'true'
  • Loading branch information
donohoea authored Mar 30, 2020
1 parent e30cbe2 commit 10f68e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ngrx.io/content/guide/data/entity-change-tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ Disabling change tracking with `IgnoreChanges` is the most frequent choice.

### Disable change tracking

You can opt-out of change tracking for the entire collection by setting the collection's `enableChangeTracking` flag to `false` in its `entityMetadata`.
When `false`, NgRx Data does not track any changes for this collection
You can opt-out of change tracking for the entire collection by setting the collection's `noChangeTracking` flag to `true` in its `entityMetadata`.
When `true`, NgRx Data does not track any changes for this collection
and the `EntityCollection.changeState` property remains an empty object.

You can opt-out of change tracking for a _specific_ entity action by supplying the `mergeStrategy` in the optional `EntityActionOptions` that you can pass in the action payload.
Expand Down

0 comments on commit 10f68e0

Please sign in to comment.