Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #11426

Merged
merged 3 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions documentation/hexagonal-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Let's be honest here: hexagonal architecture won't help for the fastest feedback

BUT, just after that comes compilation and, for that, hexagonal architecture will help! Thanks to the very good Separation Of Concern you'll be able to build modules (packages in Java) with a very high cohesion and very low coupling. That means, most classes in the infrastructure modules will never get out of there hence allowing compilation time feedbacks.

There is another **AWESOME** compilation time feedback coming not directly from the architecture but from a practice often used in those architecture: Types Driven Development. The idea is pretty simple: create a dedicated type for each business concept. Example:
There is another **AWESOME** compilation time feedback coming not directly from the architecture but from a practice often used in that architecture: Types Driven Development. The idea is pretty simple: create a dedicated type for each business concept. Example:

- `Firstname`: Yes, this is a `String` BUT this is not a phone number or a Klingon dictionary so create a type for that (with some checks and formatting).
- `Lastname`: Yep, another `String` BUT... same reasons.
Expand Down Expand Up @@ -81,7 +81,7 @@ Originally, this architecture was presented in a hexagon (hence the name) with t

![Hexagonal architecture overview](hexagonal-global-schema.png)

In this flavor, the calls flow is as follow:
In this flavor, the calls flow is as follows:

![Hexagonal architecture flow](hexagonal-flow.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ public class BeersCollectionChangeUnit {

> Sadly, the classes annotated with `@ChangeUnit` must be public

As transactions are not ensured on NoSQL databases each Execution comes with it's rollback counterpart.
As transactions are not ensured on NoSQL databases each Execution comes with its rollback counterpart.