Skip to content
#

ddd-example

Here are 128 public repositories matching this topic...

aalmuqahwi
aalmuqahwi commented Apr 23, 2021

https://github.com/kgrzybek/modular-monolith-with-ddd/blob/54d209639e501301e879aa0d0a84c9ea49e4689e/src/Modules/Meetings/Domain/Meetings/Rules/MeetingAttendeesLimitMustBeGreaterThanGuestsLimitRule.cs#L1-L21

I believe the comparison operator used in the IsBroken method is wrong because the rule is checking that meeting attendees limit must be greater than guests limit.

bug good first issue
adenhertog
adenhertog commented Apr 20, 2019

Create a new base class (ie; ValueObject<PropertyType>) that can be inherited to create a value object concrete definition.

Value objects are a core concept of DDD and represent things that are identified by their value rather than their hash/id/reference etc. See: https://martinfowler.com/bliki/ValueObject.html

There're already some examples on the web on this practice in typescript (eg h

good first issue

🪣 A practical e-commerce modular monolith sample, built with .Net Core, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.

  • Updated Jun 19, 2022
  • C#

Improve this page

Add a description, image, and links to the ddd-example topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ddd-example topic, visit your repo's landing page and select "manage topics."

Learn more