Describe the bug
Queries with query parameters that are array based doesn't work.
It boils down to this line:
|
if (param.style === 'form' && typeof args[saneParamName] === 'object') { |
An array is also considered an object in JavaScript. The if statement needs to be flipped.
Describe the bug
Queries with query parameters that are array based doesn't work.
It boils down to this line:
openapi-to-graphql/packages/openapi-to-graphql/src/resolver_builder.ts
Line 1374 in 8951518
An array is also considered an object in JavaScript. The if statement needs to be flipped.