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

map:create() is not allowed based on the doc, but works #53

Closed
suhothayan opened this issue Jul 13, 2019 · 1 comment
Closed

map:create() is not allowed based on the doc, but works #53

suhothayan opened this issue Jul 13, 2019 · 1 comment

Comments

@suhothayan
Copy link
Contributor

Description:
Siddhi does not properly validate no-arg functions.

When map:create() is only allowed the following it still supports no-arg.

<OBJECT> map:create(<OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> key1, <OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> value1)
<OBJECT> map:create(<OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> key1, <OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> value1, <OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> ...)
@suhothayan suhothayan added this to the 5.0.4 milestone Jul 13, 2019
suhothayan added a commit to suhothayan/siddhi-execution-map that referenced this issue Jul 14, 2019
 and

No-arg functions are not properly validated #1401
mohanvive added a commit that referenced this issue Aug 6, 2019
Fix map:create() is not allowed based on the doc, but works #53 and
@niveathika
Copy link
Member

Fixed by #54

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

No branches or pull requests

2 participants