Tag: Redis
-
Trying to use redis store with express-session with the help of connect-redis official docs
0 Here’s what I’m trying to do. I’m trying to use redis as store with express-session but get an error : src/index.ts(14,20): error TS7009: ‘new’ expression, whose target lacks a construct signature, implicitly has an ‘any’ type. src/index.ts(15,5): error TS2353: Object literal may only specify known properties, and ‘client’ does not exist in type ‘(options?:…
-
using graphql with redis used as a source rather than a database
0 hi im looking to implement a service that uses Graphql with a Redis as the source? is that a pattern thats used often? redis graphql Share Follow asked 18 mins ago user1555190user1555190 2,86588 gold badges4949 silver badges8080 bronze badges Load 7 more related questions Show fewer related questions 0 Sorted by: Reset to default…
-
Redis-om EntityId: how to return the result of a search
0 I use redis-om with nodejs, typescript and graphql I save a record in redis with this code let vote = await voteRepository.save({ voterID, date, certified }); the type of ‘vote’ is ‘Entity’ but I want to send back to the client an object of type Vote: type Vote { voterID: String! date: String! certified:…