Can't use redis official library in datasource. #11226
m4rcelpl
started this conversation in
Contributing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 --devbudi plugins --init datasourceyarn add redisimport { createClient } from 'redis';and in read function:const client = createClient();yarn installthenyarn buildDesktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions