Skip to content

Able to use single-arg closure for methods that accept Expression #10

@yihtserns

Description

@yihtserns

Right now, have to do this:

from(...).transform { exchange, type -> ... }.setBody { exchange, type -> ... }

Most of the time, I don't care about the type argument, I want to do something similar to this:

from(...).transform { ... }.setBody { ... }

where the implicit it is just exchange.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions