Binh Ho

Results 19 comments of Binh Ho

A sample e2e test. ``` // mytest.e2e-spec.ts import * as request from 'supertest'; import { Test } from "@nestjs/testing"; import { INestApplication } from '@nestjs/common'; import { MyTestsController } from...

I ran `pop install` but not resolved problems. After debug, I found the package not have `podspec` file, So I temporary add missing `podspec` file for that package and run...

`subscriptionClient` is a private method. ``` ERROR in src/plugins/apollo.ts:52:8 TS2341: Property 'subscriptionClient' is private and only accessible within class 'WebSocketLink'. 50 | } 51 | // add the middleware to...

If we uses serverless and a node server like NestJs. The request body will be converted to Buffer and forward to nodejs server, if we don't have multipart parser, we...

Related: https://stackoverflow.com/a/60360589/9585130

Just add “Dispatch.main.asyn {}” to warning places will fix the issue.

My solution: https://stackoverflow.com/a/61003498/9585130 Just add this to serverless.yml. ``` provider: apiGateway: binaryMediaTypes: - '*/*' ``` And I'm uing `"aws-serverless-express-binary": "^1.0.1"`