Post

Another πŸ”₯ package release from @maennchen.dev 😎 AshDiagram is a library for generating beautiful diagrams to visualize your #AshFramework applications. Generate Entity Relationship, Class, C4 Architecture, and Policy diagrams directly from your Ash resources and domains. πŸš€

8 reposts45 likes

Technically quite close, but conceptually their example is advocating for technical-based structure ("api"-slice), whilst I'm more in favour of feature slices. Example from Oskar's article above shows it quite well.

For example we are working on a document management app. We have a slice for managing a document's state called `Flow` where we transit through the system: `prepearing` -> `needs_annotation` -> `released` . And we have `Annotation` slice that is used on annotation page `Annotation.add/edit/delete`