Skip to content

Commit 6822962

Browse files
committed
reword
1 parent 14c439e commit 6822962

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

core/data-persisters.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ process](serialization.md).
88
A data persister using [Doctrine ORM](http://www.doctrine-project.org/projects/orm.html) is included with the library and
99
is enabled by default. It is able to persist and delete objects that are also mapped as [Doctrine entities](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html).
1010

11-
However, you may want to store data to other persistence layers (ElasticSearch or MongoDB), to separate the public model
12-
of the API and the internal model mapped with the database, or to use patterns such as [CQRS](https://martinfowler.com/bliki/CQRS.html)
13-
to use a separate model for [read operations](data-providers.md) and for updates.
11+
However, you may want to:
12+
13+
* store data to other persistence layers (ElasticSearch, MongoDB, external web services...)
14+
* not publicly expose the internal model mapped with the database through the API
15+
* use a separate model for [read operations](data-providers.md) and for updates by implementing patterns such as [CQRS](https://martinfowler.com/bliki/CQRS.html)
1416

1517
Custom data persisters can be used to do so. A project can include as many data persisters as it needs. The first able to
1618
persist data for a given resource will be used.

0 commit comments

Comments
 (0)