-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: support for node-redis version 4 #330
Comments
Yes. It appears we can run this in |
Yes, that's correct. Though, with Typescript there are some more changes. |
I'm unsure how those Typescript changes affect this project as it doesn't use Typescript. Is this a matter of updating the @types/connect-redis to support? If so, a PR would need to be created to support the change over there: |
I just tried the following:
And I get the following error when doing response.end()
It works without any problems if I don't set any value to the session. (as fast as I remove the comment for request.session.views = 1;, I get the above error at response.end(). |
Workaround for the type issue is adding connect-redis/lib/connect-redis.js Line 61 in 47b485c
connect-redis/lib/connect-redis.js Line 75 in 47b485c
But it seems that issue with numeric arguments should be fixed in node-redis anyway. |
Hi all, any workaround for this? thanks. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Work for this has begun -> #337 |
I am removing the legacyMode requirement in the next major version of this package. If you want to try it you can Migration guide in this PR: #377 |
This issue was closed because it has been stalled for 5 days with no activity. |
Hi,
Is there any plans to add support for node-redis version 4?
There are some breaking changes when it comes to Typescript.
The text was updated successfully, but these errors were encountered: