Skip to content

types(plugin): support for type safe plugins #3248

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

Closed
wants to merge 1 commit into from

Conversation

pikax
Copy link
Member

@pikax pikax commented Feb 17, 2021

Allow type safe plugins configurations.

The only issue is the parameters name are not respected, aside from that it should support just a simple object with install function or by using the provided types

@posva
Copy link
Member

posva commented Feb 17, 2021

This seems more complete than #2589 and #2758

@pikax
Copy link
Member Author

pikax commented Feb 17, 2021

#2758 has the same functionality(from the tests I have here), it infers the arguments names, IMO it just needs a few more tests and it looks good

@pikax pikax closed this Feb 17, 2021
@pikax pikax deleted the types/plugin_types branch February 17, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants