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

feat: prevent multiple plugins with the same ID from loading #103

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

tbouffard
Copy link
Member

Previously, when loading such plugins, only the latest declared one was registered. This was done silently and consumers have no way to be aware of the problem. This is not possible anymore. An error is now thrown at plugin instantiation and the error message contains the duplicated id.

closes #64

Previously, when loading such plugins, only the latest declared one was registered. This was done
silently and consumers have no way to be aware of the problem.
This is not possible anymore. An error is now thrown  at plugin instantiation and the error message
contains the duplicated id.
@tbouffard tbouffard added the enhancement New feature or request label Aug 31, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

github-actions bot commented Aug 31, 2023

♻️ PR Preview 1d94ebf has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@tbouffard tbouffard marked this pull request as ready for review August 31, 2023 06:44
@tbouffard tbouffard merged commit 8713cba into main Aug 31, 2023
@tbouffard tbouffard deleted the feat/64-disallow_load_plugins_with_same_id branch August 31, 2023 06:45
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

Successfully merging this pull request may close these issues.

[FEAT] Prevent multiple plugins with the same ID from loading
1 participant