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

Should not be able to add different services with the same GUID #60

Open
LocalJoost opened this issue Sep 24, 2023 · 0 comments
Open

Should not be able to add different services with the same GUID #60

LocalJoost opened this issue Sep 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@LocalJoost
Copy link
Contributor

LocalJoost commented Sep 24, 2023

If you think you are smart (like me) but really are not (like me) you can make a service for platform A, then proceed for Platform B and start out Service B by copying Service A and adapting the class name, you will end up with two different services with the same GUID.

This has a peculiar side effect: if you try to add Service A, it works. If you try to add Service B, it adds a second instance of Service A.
Although this is a clear PEBKAC, people are going to fall into this trap, and it took me about 5 minutes to figure it out, less experienced Service builders might get stuck here. To prevent support requests, you might want to include some guard rails here.

@SimonDarksideJ SimonDarksideJ added the enhancement New feature or request label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants