Skip to content

Add Adapters Programmatically #778

@itdv

Description

@itdv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions