Can't use redis official library in datasource. #11226
m4rcelpl
started this conversation in
Contribute
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Hosting
Describe the bug
Can't use redis official library in datasource. I want to build custom datasource with support to functions such as FT.SEARCH.
after trying to use createClient there are error: Query Error: privateMap.get is not a function
maybe the problem is in Circular dependencies?
To Reproduce
budi plugins --dev
budi plugins --init datasource
yarn add redis
import { createClient } from 'redis';
and in read function:const client = createClient();
yarn install
thenyarn build
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions