Guidance re: triggering tasks from component args

Hi @chriskrycho I saw this topic and the how to force a re-render glimmer component and it fit my problem exactly, so I tried to use the async-data-loader (both the version on your blog and the one in the github gist).

I’m using Ember 3.15/Ember Data 3.12 and EmberCLI 3.15

I’ve been having a problem, though… my code enters an infinite cycle, the getter is continually invoked (from the template, I assume, the stack trace seems to come from ember internals) and since it runs an ajax query (store.query) it basically is always making a request.

The template only has

{{#if this.welds.isLoaded}}

and the getter is (this is in a glimmer component)

get welds() {
   let query = // code to calculate the query
   return load(this.store.query('project-weld', query));
}

Any ideas? Thanks a lot