[#4060] Align completeness between old Aggregate and new Entity description#4562
Conversation
smcvb
left a comment
There was a problem hiding this comment.
Thanks for picking up this task, @laura-devriendt-lemon! I do have quite some comments to address, though. Arguable quite some I could've clarified on the original issue...so my apologies for that. So, please bare with me here! 🙏
Co-authored-by: Steven van Beelen <steven.vanbeelen@axoniq.io>
hatzlj
left a comment
There was a problem hiding this comment.
I have one concern regarding the handling of sealed types for polymorphic models and some minor improvement suggestions. Overall it reads great and easy to follow.
smcvb
left a comment
There was a problem hiding this comment.
Sorry, bunch of comments to cover again. I think we need to do a bit more restructuring of the command-handlers.adoc and event-sourced-entity.adoc pages mostly.
smcvb
left a comment
There was a problem hiding this comment.
The structure is shaping up nicely; thanks! From here, the pointers are a bit more specific for structure. To generalize, the following are my biggest concerns:
- I feel a misaligned in the structure of
event-sourced-entity.adoc,entity-creator.adoc,entity-hierarchies.adoc, andentity-polymorphism.adoc. I'd hope that each would have a configuration-agnostic example first. This section should not mention details like annotations at all, but only use the conceptual terms. This is then followed up by the three configuration options we have, being declarative, automated, and Spring Boot. - Section that build on previous examples should not repeat what those previous example state, but refer to them. This will make our examples a lot more concise, with the intend to make it more comprehensible for the reader
- The
command-handler-components.adocshould talk about the "Stateful Command Handlers", as command handlers that have the state inject are the stateful command handlers. As such, the intro andcommand-handlers.adocshould align with that terminology.
# Conflicts: # docs/reference-guide/modules/migration/pages/paths/aggregates/configuration-migration.adoc
hatzlj
left a comment
There was a problem hiding this comment.
Structure wise i think it looks very nice now. There are some minor suggestions you can include without the need for a re-review before merging this.
…eator.adoc Co-authored-by: Jakob Hatzl <hatzlj@users.noreply.github.com>
…eator.adoc Co-authored-by: Jakob Hatzl <hatzlj@users.noreply.github.com>
…eator.adoc Co-authored-by: Jakob Hatzl <hatzlj@users.noreply.github.com>
…configuration-migration.adoc Co-authored-by: Jakob Hatzl <hatzlj@users.noreply.github.com>
…erarchies.adoc Co-authored-by: Jakob Hatzl <hatzlj@users.noreply.github.com>
|



This PR resolves #4060.