You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have 2 indexes created using document models that implement IRedisHydrateable interface.
Both documents use StorageType of type Hash.
Everything was working correctly until we update Redis.OM version 0.5.5 to 0.6.0, even after we apply changes mentioned in the release notes:
We have tried to upgrade to version 1.0.1 with the same issues.
After analyzing Redis.OM code, we have spotted the following:
In this line if document model implements IRedisHydrateable interface we are calling hydrate function to hydrate the object however we are not returning the object that was hydrated.
Shouldn't we return it instead of doing the normal process as if the document do not implements IRedisHydrateable?
We have tested that if we return the object, our code starts to work again.