At this moment we are building our EventCatalog dynamically with the SDK, however if we want to add owners to a service/event/domain/... those should exists otherwise we get an error like this :
[1] 14:20:34 [ERROR] [InvalidContentEntryFrontmatterError] services → my-service/index.mdx frontmatter does not match collection schema.
[1] owners.0: Reference to users invalid. Expected "users". Received "my-group".
Proposed Solution
We add functions for Team and Users in the SDK :
Users
writeUser
rmUser
rmUserById
getUsers
Teams
writeTeam
rmTeam
rmTeamById
getTeams
Implementation Notes
No response
Community Notes
Please vote by adding a 👍 reaction to the issue to help us prioritize.
If you are interested to work on this issue, please leave a comment.
If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out in the EventCatalog Discord.
Use Case
At this moment we are building our EventCatalog dynamically with the SDK, however if we want to add owners to a service/event/domain/... those should exists otherwise we get an error like this :
Proposed Solution
We add functions for Team and Users in the SDK : Users
Teams
Implementation Notes
No response
Community Notes