Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get apis (e.g getServices) does not work with nested resources #72

Open
boyney123 opened this issue Nov 18, 2024 · 1 comment
Open

Get apis (e.g getServices) does not work with nested resources #72

boyney123 opened this issue Nov 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@boyney123
Copy link
Contributor

Use Case

Let's say you have domains/services/events all nested within the folder structure.

And you call getServices, this will list all the markdown files in that directory including any nested one, in this example it will return all the services and events.

Proposed Solution

Only return the services, exclude any sub folders (events, commands, queries) in this example.

Implementation Notes

It uses glob under the hood, should be able to just ignore things using regex.

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.
@boyney123
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant