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

Method references does not work #13

Open
harryburak opened this issue Jan 6, 2021 · 0 comments
Open

Method references does not work #13

harryburak opened this issue Jan 6, 2021 · 0 comments

Comments

@harryburak
Copy link

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.

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