Skip to content

Migrate application service logic to Menu.Application #1142

Open

Description

@dgee2

Goal

Move the orchestration logic from MenuApi/Services/ into Menu.Application command/query handlers, completing the DDD layer separation.

Spec reference

docs/specs/recipe-creation-target-architecture.md — §"Separation between presentation and domain"

Implementation notes

  • Migrate service orchestration code from MenuApi/Services/*.cs → Menu.Application handlers
  • Update Minimal API endpoint handlers in MenuApi to call through application service interfaces (commands/queries) rather than concrete services
  • Remove direct service dependencies from the MenuApi presentation layer
  • All existing unit and integration tests pass after migration

Acceptance criteria

  • MenuApi presentation layer has no direct dependencies on repository implementations
  • All tests pass

Testing

  • Run full test suite after migration

Part of#1104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions