vulcainjs / vulcain-corejs

Microservice framework for nodejs
https://vulcainjs.github.io
Apache License 2.0
11 stars 3 forks source link

support for passing arrays as parameters #30

Closed mrik974 closed 7 years ago

mrik974 commented 7 years ago

Hi, Are there plans for supporting arrays of Basic types in QueryHandlers' parameters ?

malain commented 7 years ago

All vulcain queries (or actions) accept only an object as parameter. This object (defined as a Model) contains all parameters which can be an array. To send an array value with a GET, you must use this syntax : /myquery?array1=x&array1=y&array1=z where array1 is the parameter name.