Skip to content

Commit

Permalink
Some typos :)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlehrmann authored Dec 14, 2023
1 parent 4089d58 commit c95764d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/pages/upcasting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ denormalizing to an event object. There you can change the event name and adjust

## Adjust payload

Let's assume the have an `ProfileCreated` event which holds an email. Now the business needs to have all emails to be in
lower cast. For that we could adjust the aggregate and the projections to take care of that. Or we can do this
beforehand so we dont need to maintain two different places.
Let's assume we have an `ProfileCreated` event which holds an email. Now the business needs to have all emails to be in
lower case. For that we could adjust the aggregate and the projections to take care of that. Or we can do this
beforehand so we don't need to maintain two different places.

```php
use Patchlevel\EventSourcing\Serializer\Upcast\Upcast;
Expand Down Expand Up @@ -116,4 +116,4 @@ final class EventStreamCleanupCommand extends Command

!!! note

You can find out more about the pipeline [here](pipeline.md).
You can find out more about the pipeline [here](pipeline.md).

0 comments on commit c95764d

Please sign in to comment.