Adding entities to domains
Added in
eventcatalog@2.36.0
Once you have created your entities you can add them to your domains.
To add an entity to a domain you need to add the entity to the entities
array in the domain's markdown file.
/domains/Orders/index.mdx
---
id: OrderItem
name: OrderItem
version: 1.0.0
entities:
- id: OrderItem
version: 1.0.0
---
Your domain markdown...