The properties isLoading, isSuccessful, hasRan, isError are resolved immediately even if the request is still running.
https://github.com/evoactivity/ember-data-resources-repro
run pnpm start to bring up the server and ember app
findRecord is used here
https://github.com/evoactivity/ember-data-resources-repro/blob/main/front/app/components/channel.gjs
It is due to the record existing because it is loaded in the application route initially, but I need more relationships so run a find record again, which resolves immediately but is running a background reload. Using reload: true option makes it work as expected. Would there be some way to have an isBackgroundReloading property?
The properties
isLoading,isSuccessful,hasRan,isErrorare resolved immediately even if the request is still running.https://github.com/evoactivity/ember-data-resources-repro
run
pnpm startto bring up the server and ember appfindRecord is used here
https://github.com/evoactivity/ember-data-resources-repro/blob/main/front/app/components/channel.gjs
It is due to the record existing because it is loaded in the application route initially, but I need more relationships so run a find record again, which resolves immediately but is running a background reload. Using
reload: trueoption makes it work as expected. Would there be some way to have anisBackgroundReloadingproperty?