DDD: SO tag. An Entity or value type?

后端 未结 3 1424
一整个雨季
一整个雨季 2020-12-19 00:56

In the context of Domain Driven Design, is a StackOverflow tag (ie. ffffd ) a value object or entity?

EDIT:

Imagine, that you have to build SO website. How wou

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-19 01:39

    Just some additional considerations: Tags can be normalized, "DDD" should be equal to "ffffd" and "DdD", and in most tag systems, spaces get replaced with "_" underscores. Also I guess the creator will be tracked for the badge system.

提交回复
热议问题