"strategy=always" does not trigger brand new request
See original GitHub issueHow could I trigger brand new request every time I use service.find? strategy=always
does not work, and listStrategy=always
does not work either. There is still no http request in my browser console. So what’s the difference between strategy
and listStrategy
? (I see them both in README.md). Which one fulfill my purpose? Following is my code:
// feathers.service.ts
this.app = feathers()
.configure(reactive({
idField: '_id',
listStrategy: 'always',
strategy: 'always'
}))
.configure(rest(HOST).angularHttpClient(httpClient, {HttpHeaders}))
.configure(hooks())
.configure(authentication({path: '/login', storage: window.localStorage}))
// role.component.ts
getRoles() {
const Role = this.feathersService.app.service('roles')
const log = console.log
Role
.watch({listStrategy: 'always', strategy: 'always'})
.find()
.subscribe(log,log)
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Node passport-local strategy always fails - Stack Overflow
I was overlooking two things: There was no call to the passport.initialize() middleware; I wasn't parsing request bodies because Express ...
Read more >PR Release not triggered - SAP Community
Hi All I just configured a new release strategy by copying an existing one into the existing class. The pre-existing characteristics are maintained...
Read more >How Can a Strategy Everyone Knows About Still Work?
Some assert that once a strategy is “discovered” it can't work anymore. Others, often implicitly, assume the future will look as wonderful ...
Read more >Guide To Using Trigger Emails Successfully - Epsilon
Your brand may be missing opportunities to use trigger emails. ... While your emails may not always be moving people toward making a ......
Read more >Re: Workflow not triggering as expected - Page 2 - ServiceNow
However this time I built everything out from our Hardware Request table. ... requested new functionality for having an sms message sent if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To disable caching on your local version change
return cacheObservable(this._cache, 'find', params ,pipeStream);
toreturn pipeStream;
I think we’d need to figure out the API for a user provided cache, most likely some kind of object with
cache
,get
andinvalidate
methodsPlease create a new issue with an example to reproduce.