Tests incompatible with Redis -- ISO8601 Non-Strings (& other time values) Unsupported in Redis #11998
DatScreamer
started this conversation in
Ideas
Replies: 1 comment
-
I figured it all out and it passes all of the adapter tests so if anyone needs a Redis adapter that works with authjs v5 they could contact me I guess. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Non-Goals
No response
Background
When developing a custom Redis adapter I found the adapters tests file requires Redis to store times as Non-Strings (which Redis can't do except with numbers). Redis does not support storing data in that format, so no matter what, that test will fail as-is.
Maybe this is a brainfart on my part but seems like there should be some information available about circumstances such as this. What are the best practices? Does it even matter if those tests fail in this case? Do I need to write custom tests?
Proposal
"How should this feature be implemented? Are you interested in contributing?"
Not sure but I could contribute if I'm doing the work anyway
Beta Was this translation helpful? Give feedback.
All reactions