Joseph Cheung

Results 26 comments of Joseph Cheung

Hi, Just want to chime in with a reply from Heroku support. I too faced the same issue that Heroku Redis cannot run `every`. I tried connecting to Heroku Redis...

@WUJJU Welcome! Besides, I found out that Redis Cloud, another Heorku Redis add-on provider, allows us to set `notify-keyspace-events`. Happily using it.

pretty straight forward, 1. Add Redis Cloud heroku add-on 2. Go to heroku settings page 3. `Reveal Config Vars` in Config Variables 4. Copy `REDISCLOUD_URL`, it should be something like...

Have you tried the code locally @developermhayden? From what I saw, `emailDailyRecapHandler`'s `response` parameter should be renamed to `done`. Otherwise you will get `done is not defined`

Besides, @developermhayden are you sure `REDIS_URL` is the correct environment variable for redis cloud? From what I have in heroku settings, redis url environment variable name for redis cloud by...

I'd like to know if it's possible to use composite primary keys in vesper as well. I work around it by setting a composite unique index on join columns and...

I see. I haven't tried that before in typeorm. I split my update and insert mutation in my graphql for joint table so I don't need upsert. Perhaps you can...

After further study, I believe the problem comes from typeorm's [`RelationIdLoader`](https://github.com/typeorm/typeorm/blob/6cf206c9c977cec7c6121926cbbef251e2f6a31f/src/query-builder/RelationIdLoader.ts) and [`SelectQueryBuilder`](https://github.com/typeorm/typeorm/blob/b5161e82294352eec8e9d82ebe28f214998d18d2/src/query-builder/SelectQueryBuilder.ts). I made a controlled experiment by making 2 branches. 1st branch is the experimental (problematic) one -...

Just updated my branch to use postgres, which gives different result. Reproduction commit: https://github.com/josephktcheung/typescript-advanced-example/tree/91ccd7bad62d87ab8c1d3b47a446814f413ddbf1 Here is updated `index.ts`: ```ts import { bootstrap } from "vesper"; import { PostController } from...

I hope Vesper can support query batching soon. Because I'm running Vesper on aws lambda, and with batching I can reduce number of times lambda get called, which means reducing...