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

Allow overwrite when schemas refer to the same tool #175

Merged
merged 5 commits into from
May 20, 2024

Conversation

abravalheri
Copy link
Owner

@abravalheri abravalheri commented May 17, 2024

This is one of the possibilities discussed in #174.

It seems to me that we should allow --tool (for example) to overwrite a plugin given by entry-points. We might have to re-evaluate this when adding the possibility of "side-loading" non-tool plugins.

I am not 100% sure if there are other unforeseen consequences of this change.

Multiple entry-points might also try to redefine the same entry? So we might want to improve the sorting to improve reproducibility.

@abravalheri abravalheri marked this pull request as ready for review May 17, 2024 12:34
@abravalheri
Copy link
Owner Author

I think I will merge this for now.
If in the future we want something different we can revise this.

@abravalheri abravalheri merged commit 8781a9f into main May 20, 2024
25 checks passed
@abravalheri abravalheri deleted the allow-overwrite branch May 20, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant