Skip to content

addMessageToService deletes the message subfolders of the services #2104

@boyney123

Description

@boyney123

Migrated from event-catalog/sdk#118

I tried this:

I have a nested setup and my generator calls the addMessageToService method via the public addQueryToService.

This happened:

It deleted the query subfolder of the service

I expected this:

I expect subfolders of services to be preserved using this method.

Is there a workaround?

Not sure

Anything else?

No response

EventCatalog Version

@eventcatalog/sdk@2.2.3

Node.js Version

v22.14.0

Platform(s)

MacOS, Linux

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sdkIssues related to @eventcatalog/sdk package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions