jxmono / bind

:book: HTML UI Library for mono

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Array parameter is not sent correctly

IonicaBizau opened this issue · comments

"myEvent": [                                      
    {                                           
        "handler": {                            
            "name": "myFoo",    
            "args": [                           
                [                               
                    "someFoo"
                    "anotherFoo"
                ]                               
            ]                                   
        }                                       
    }                                           
]                                               

myFoo function is called with an object in the following format:

{
  "1": "someFoo",
  "2": "anotherFoo"
}

The first parameter is supposed to be an Array, not an Object.

Closing as obsolete.

I would leave this open. I can imagine that this will hit us at some point. One that uses array iteration will get an error. What do you think?

I can imagine that this will hit us at some point. One that uses array iteration will get an error. What do you think?

I don't think so. We will use Engine where this was already fixed. 😄

So we can close it when all Mono projects that use bind are migrated. 😄