-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
How 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)
}Reactions are currently unavailable