Heikki Hellgren

Results 377 comments of Heikki Hellgren

Hi, Also friend boolean operator overloads get the same error. **type.h** ```cpp class Type { public: friend bool operator==(const Type& a, const Type&b); private: int number = 0; } ```...

Hi, The same goes if you have for example: **string.h** ```cpp using MyString = std::string; ``` **main.cpp** ```cpp #include "string.h" void run() { MyString hello("Hello world"); } ```

I am having same issue with long barcodes for example this: ![barcode](https://user-images.githubusercontent.com/1178319/162734238-0a0c725b-18c0-470e-8194-728826c9ee04.gif) 439393900039990260001000000000000000000000123123220412. Any ideas?

Also getting the following error but might not be related: `(node:37087) V8: node_modules/@ericblade/quagga2/lib/quagga.js:4469 Invalid asm.js: Unexpected token`

Oh yes, sorry about that. It was a gif so it cut out all whitespace. Have to try it again with the configuration you used.

Any updates when this is going to be fixed?

You have to wait for the API to initialize. So for example: ```js const initedApi = api.init(); export async function handler(event, context) { await initedApi; return await api.handleRequest({...}); } ```...

Also note that event.queryStringParameters does not work if you have array query parameters in specification. I made a fix for that but not sure if it gets merged: https://github.com/anttiviljami/openapi-backend/pull/444

@bellingard could you merge this and release a new version? Thanks!