Adding query owners
Added in
eventcatalog@2.10.0Owners in EventCatalog are either users or teams and are optional.
To add an owner or a team, you need to add the user or team to the owners field of the query.
Adding owners using frontmatter
To add owners within an query you need to add them to the owners array within your query frontmatter API.
You need to add the id of the owner.
/queries/GetOrder/index.mdx (example)
---
id: GetOrder
... # other query frontmatter
owners:
- dboyne # represents a user
- webTeam # represents a team
---
<!-- Markdown contents... -->
Assigning owners to your queries can provide others with context of who owns this query and how to contact them.
Creating users and teams
EventCatalog gives you the ability to create users and teams. You can read the documentation to get started.