Skip to content

Create Menu.Domain project and move value objects #1139

Open

Description

@dgee2

Goal

Extract value objects and repository interfaces into a dedicated Menu.Domain project, isolating domain concepts from the API and infrastructure layers.

Spec reference

docs/specs/recipe-creation-target-architecture.md — §"Target project structure"

Implementation notes

  • New .NET class library backend/Menu.Domain
  • Move Vogen value objects from MenuApi/ValueObjects/ → Menu.Domain
  • Define repository interfaces (matching existing IRecipeRepository, IMenuUserRepository, etc.) in Menu.Domain
  • Add project reference MenuApi → Menu.Domain
  • All existing unit and integration tests pass after move (no logic changes)

Acceptance criteria

  • Menu.Domain project builds
  • All value objects accessible via Menu.Domain namespace
  • All tests pass

Testing

  • Run dotnet test MenuApi.Tests and dotnet test MenuApi.Integration.Tests after the move

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