Skip to content

Method references does not work #13

Description

@harryburak

Hi,

I'm using Angular 8 for frontend. I have an expression and object for evaluating. For example expression is "(getSubFoo()!=null && getSubFoo() == 'XYZ')" and object is
export class Foo{
field1: string;
field2:string;
public getSubFoo(): string{
// some implementations
}
}

When i want to run above evaluation, evaluation drops to catch and error is message: "Method getSubFoo does not exist."
name: "NullPointerException".

Does spel2js provide to evaluate methods?

Best Regards,
Burak Mert.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions