-
Notifications
You must be signed in to change notification settings - Fork 339
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
Accessing a non existand data from the mockStore complains about the wrong thing #2320
Comments
Not sure if it is directly related but could you try with the following alpha version? |
@ardatan, I've tested the error returned when accessing the resource which isn't there, but there was no change in the behavior. |
Could you help me to reproduce it or creating a failing test would be even better? |
@ardatan
I have also added another issue of a similar type when trying to handle errors with union types: Where does this error come from? |
@ardatan, have you made any progress with this issue? |
@Urigo , |
Guys... it's been more than 2 months since I've provided the reproduction. Could you please look into it? |
@ardatan You can assign this issue to me. I will have a look at it this week. |
Describe the bug
Accessing a resource from the
mockStore
that doesn't exist doesn't handle the situation well. It complains about theDateTime
not being defined, and not that the resource access attempt is invalid.This is how I handle the resource detail:
I assume I should protect the endpoint, but how can this be done with the
mockStore?
The text was updated successfully, but these errors were encountered: