tedis icon indicating copy to clipboard operation
tedis copied to clipboard

Support for url as a connect option?

Open OrcaXS opened this issue 5 years ago • 6 comments

It's more convenient than separate host/port options in some environments, like CI. Since https://github.com/luin/ioredis supports redis:// directly ootb, it would make the transition easier if tedis could support this as well.

Thanks!

OrcaXS avatar Apr 07 '20 06:04 OrcaXS

@OrcaXS I did a fork of this project (https://github.com/danielfroz/tedis). Also wanted URL.... so it's implemented in this fork. Examples under .spec.ts files.

danielfroz avatar May 03 '20 13:05 danielfroz

@danielfroz PR possible?

randallb avatar Jun 06 '20 13:06 randallb

hi @randallb it is possible. The thing here is that tedis has problems with the parser and not supporting Streams / PUB SUB, etc... So created this fork to support my needs. Didn't receive any reply to my comment / issue. Perhaps not desired. Not sure....
In either case tedis fork mentioned is working ok. Anyways... will check later the current status of this project - maybe contribute with PR for everything - again not sure as I am really busy with other things.

danielfroz avatar Jun 10 '20 17:06 danielfroz

@danielfroz Nice work! Thanks!

How does one use your fork?

orimdominic avatar May 18 '21 05:05 orimdominic

Hi @sudo-kaizen . You either reference it locally (path reference locally) or create a private repository and deploy it ... something like @sudo-kaizen/tedis.

But honestly not sure if you will need it . Long time I don't follow Tedis development... so maybe the author already fixed the code and implemented the requested feature. Would check the code first before testing my fork.

Hope this helps

danielfroz avatar May 20 '21 00:05 danielfroz

@danielfroz

Yup! I eventually ended up using handy-redis though.

Thanks

orimdominic avatar May 20 '21 00:05 orimdominic