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

Add Adapters Programmatically #778

Open
itdv opened this issue Feb 11, 2024 · 0 comments
Open

Add Adapters Programmatically #778

itdv opened this issue Feb 11, 2024 · 0 comments

Comments

@itdv
Copy link

itdv commented Feb 11, 2024

Hi
Is there a way to add adapters programmatically to transpiler instance?
It would be vary convenient to have such an option, which would allow to treat the whole transpiler process via dedicated code for specific porject, rather than having to use plguins + configuration file.
I do see the transpiler has setAdatpters function, but
a) it gets List rather than List<Class>
b) it's doesn't seems to be working at all - adding values doesn't seem to have any effect, and looking in jsweet code, I cannot find where getAdapters is used

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

No branches or pull requests

1 participant