Open Leila-Codes opened 1 year ago
On occasion some document results may return a valid key but the document value is nil.
nil.
Unfortunately I don't yet have a specific repeatable case but the theory/suspicion is:
This is unhandled when casting inside loadDocument() which completely crashes reading of data.
loadDocument()
Proposed solution is to handle cast errors appropriately. Will submit a new PR shortly with implementation.
Added new PR #182
I have this problem too. In my case, the Redis connection is temporarily lost, and this results in a nil result.
On occasion some document results may return a valid key but the document value is
nil.
Unfortunately I don't yet have a specific repeatable case but the theory/suspicion is:
This is unhandled when casting inside
loadDocument()
which completely crashes reading of data.Proposed solution is to handle cast errors appropriately. Will submit a new PR shortly with implementation.