Expand coverage to full backend assembly
This commit is contained in:
4
FAQ.md
4
FAQ.md
@@ -28,6 +28,10 @@ To start with a clean backend state, stop the app and remove the corresponding S
|
||||
|
||||
No. The backend loads state from SQLite once during startup into in-memory state and serves requests from memory. Successful state mutations are then written back to SQLite.
|
||||
|
||||
## What does test coverage include?
|
||||
|
||||
Coverage now includes the entire backend project (`RpgRoller`), including API/hosting/bootstrap code and services. It is no longer restricted to `RpgRoller.Services.*`.
|
||||
|
||||
## Why do backend services use `*Command` types instead of API request DTOs?
|
||||
|
||||
Service workflows now consume service-layer command models (for example, `CreateCampaignCommand`) so endpoint transport contracts stay isolated in the API layer. This reduces coupling and keeps service code reusable when input shapes evolve at the HTTP boundary.
|
||||
|
||||
Reference in New Issue
Block a user