Skip to content
This repository was archived by the owner on Jun 11, 2020. It is now read-only.
This repository was archived by the owner on Jun 11, 2020. It is now read-only.

Allow direct access to map variables and object properties #3

@cjbrooks12

Description

@cjbrooks12

Propose a new "clog" syntax that allows direct access to object variables. New syntax looks like:

${key | pipes }

Rather than finding an input sequentially, this will look for a property on the object to use as the base input. Objects will be traversed in the order given, looking for the specified bean-style property on the object or calling the get(String) method on it. The first object that returns a non-null result will be chosen. As a fallback, allow for "dynamic" getters, which call any spell that does not accept parameters to generate the initial result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions