-
Notifications
You must be signed in to change notification settings - Fork 53
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
Model.get
returns undefined
for querying an unknown entity when using Redis caching
#119
Comments
Hi |
Hi, |
Hello, I can confirm that the new release fixes this issue 🎊 |
Great, thanks for the feedback! |
Hello,
I started using the Redis caching feature yesterday and my app immediately broke :(
After looking into it I found an inconsistency in the behavior of the
get
method of models based on whether caching is enabled or not.Here is an example that reproduces the issue:
If you run this code, it will output
undefined
. However, if you disable caching, aGstoreError
exception is thrown (which in my opinion is the thing I would expect)The text was updated successfully, but these errors were encountered: