jet / dotnet-templates

Example app and service templates `dotnet new -i Equinox.Templates; dotnet new eqx*/pro*` https://github.com/jet/equinox https://github.com/jet/FsCodec
https://github.com/jet/propulsion
Apache License 2.0
64 stars 16 forks source link

Apply "`module Config` pattern" #104

Closed bartelink closed 2 years ago

bartelink commented 2 years ago

This applies a set of code patterns that I've been applying in recent times in a system I'm building that consists of the following elements:

When Domain is organised in this manner, the following becomes clean to do: a) define high level tests that operate in-memory which exercise significant workflows in a system (often cross-aggregate), using a Memory Store b) define integration tests that use the concrete stores c) define Web host and/or Reactor apps without repeating wiring logic (if it needs to be shared, a .Infrastructure project can have that specific wiring)

A better demo app is needed, and will arrive in due course; for now, the closest thing is the layout of the equinox-shipping project

Includes: