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

bug: service-map.json is used different way in fix and graph #1120

Open
egorio opened this issue Jun 8, 2023 · 0 comments
Open

bug: service-map.json is used different way in fix and graph #1120

egorio opened this issue Jun 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@egorio
Copy link
Contributor

egorio commented Jun 8, 2023

Comparing 2 commands I found that service-map.json is consumed differently:

  1. The graph is searching for service-map file only in the rootPath while the fix is using find-up to find it.

  2. The graph is searching for services on the map as serviceMap[keyName] while the fix expect the key to be in one of the following formats: kebab, camel-case or just plain string

It's better to move the logic behind service-map to a separate class and share it between fix and graph

@egorio egorio self-assigned this Jun 8, 2023
@egorio egorio added the bug Something isn't working label Jun 8, 2023
@egorio egorio removed their assignment Jun 9, 2023
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