You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 1This doesn’t sound like a typical business domain. Why do you think the DDD tactical patterns are a good fit for this problem space?Rik D– Rik D2023-12-11 19:49:39 +00:00Commented Dec 11, 2023 at 19:49
- That said, it’s advised to always design at least two different models to solve the same problem. That forces you to think outside of the box and could lead to a better model than what might seem most logical at first.Rik D– Rik D2023-12-11 19:54:37 +00:00Commented Dec 11, 2023 at 19:54
- 2How do you intend to enforce a unique name for all nodes of a graph as a business rule, while being unwilling to look at all of the nodes (and therefore their names) when creating a new node? That's not a rhetorical question.Flater– Flater2023-12-12 04:00:27 +00:00Commented Dec 12, 2023 at 4:00
- 2Does this answer your question? How to handle business rules that are "uniqueness" constraints?guillaume31– guillaume312023-12-14 09:44:03 +00:00Commented Dec 14, 2023 at 9:44
- 3I meant two (or more) different domain models. Don’t take for granted that Graph should be the aggregate root. Explore other ways to tackle the business problems. Btw. what you’re facing here is what Khorikov calls the DDD trilemma in his blog, it might be useful to read: enterprisecraftsmanship.com/posts/…Rik D– Rik D2023-12-18 23:11:42 +00:00Commented Dec 18, 2023 at 23:11
| Show 5 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you