Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit a824a6e

Browse files
neobyteUKwardbell
authored andcommitted
docs: fix README data encapsulation warning (#168)
1 parent 956637e commit a824a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It intercepts Angular `Http` and `HttpClient` requests that would otherwise go t
1212

1313
### HTTP response data no longer wrapped in object w/ `data` property
1414

15-
As of v0.5.0 (5 October 2017), the `dataEncapsulation` configuration default changed from `false` to `true`. The HTTP response body holds the data values directly rather than an object that encapsulates those values, `{data: ...}`. This is a **breaking change that affects almost all existing apps!**
15+
As of v0.5.0 (5 October 2017), the `dataEncapsulation` configuration default changed from `true` to `false`. The HTTP response body holds the data values directly rather than an object that encapsulates those values, `{data: ...}`. This is a **breaking change that affects almost all existing apps!**
1616

1717
See the [CHANGELOG](https://github.com/angular/in-memory-web-api/blob/master/CHANGELOG.md/#0.5.0) for the reason behind this change and how to quickly fix your code or revert to encapsulation.
1818

0 commit comments

Comments
 (0)