Page MenuHomePhabricator

Restructure namespace directories
Closed, ResolvedPublic

Description

From the book club meeting on Chapter 12:

We should create an Application namespace:

  • restructure the code:
    • move use cases, validation, serialization -> application
    • consolidate data access and infrastructure -> move the DataAccess directory into Infrastructure

Do we want to keep repositories in the domain/services namespace? The suggested structure in the book lists them under domain/model:

  • no, we like them where they are

Event Timeline

Change 904748 had a related patch set uploaded (by Norman Schwirz; author: Norman Schwirz):

[mediawiki/extensions/Wikibase@master] REST: Move DataAccess namespace to infrastructure.

https://gerrit.wikimedia.org/r/904748

Change 904761 had a related patch set uploaded (by Norman Schwirz; author: Norman Schwirz):

[mediawiki/extensions/Wikibase@master] REST: Move use cases, validation, serialization to Application.

https://gerrit.wikimedia.org/r/904761

Change 904748 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Move DataAccess namespace to infrastructure.

https://gerrit.wikimedia.org/r/904748

Change 904761 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Move use cases, validation, serialization to Application.

https://gerrit.wikimedia.org/r/904761