redis-connection icon indicating copy to clipboard operation
redis-connection copied to clipboard

[feature] - Add rejson bindings

Open codeslayer1 opened this issue 6 years ago • 4 comments
trafficstars

Feature:

  • Add rejson bindings for redis in case ENABLE_REJSON flag is set in process.env

Use Case:

  • Can be used to enable rejson commands with redis client for those using rejson module

codeslayer1 avatar Nov 30 '18 10:11 codeslayer1

@nelsonic Hey. Can you please check this pull request and let me know if it can be merged since I need to use ReJSON with my project.

The tests seem to be failing for some reason even without any changes. I have added a test for my changes as well.

codeslayer1 avatar Nov 30 '18 11:11 codeslayer1

@codeslayer1 thanks for opening this feature/pull request. 👍 Indeed the tests failing is a "blocker" to us merging this PR. https://travis-ci.org/dwyl/redis-connection/builds/461732661 image

is rather cryptic in how it's failing ... I will investigate when I get back to my desk. Meanwhile are you able to use a local version in your project to tide you over?

nelsonic avatar Nov 30 '18 17:11 nelsonic

Hey. Thanks for your quick response.

Yes. I was able to use ReJSON with my local build. Since I needed this feature urgently, I have published a forked package on npm with rejson (redis-connection-manager). Will revert back to this package once the pull request is merged and an updated version is published.

Please let me know in case any help/update is needed at my end to make the tests pass and get this PR merged.

codeslayer1 avatar Nov 30 '18 18:11 codeslayer1

Hey. I have raised a fresh pull request with the Readme and package.json changes that pertain to my package reverted. Please use that new pull request to merge the rejson change. You can delete this pull request.

codeslayer1 avatar Dec 01 '18 05:12 codeslayer1