-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update isReloading
when a record is reloaded in the background
#4376
Comments
@runspired after a quick and random look through the code, it seems that reload has some pretty specific meaning...the app is explicitly calling Also, the comments at data/addon/-private/system/model/states.js are pretty helpful, sad I missed the before |
We believe the request state RFC provides infrastructure necessary for an add-on or app to expose a flag for whether a record has any pending requests (not just a primary reload or a background reload). |
As discussed with @bmac on Slack:
Currently, neither
record.isLoading
norrecord.isReloading
is set to true while the adapter performs a background reload of the specific record.At least
isReloading
should betrue
during the time the adapter waits for a server response.The text was updated successfully, but these errors were encountered: