feathersjs-ecosystem / feathers-reactive

Reactive API extensions for Feathers services
MIT License
216 stars 37 forks source link

Adding watch() in Angular #199

Open pit999 opened 1 year ago

pit999 commented 1 year ago

Steps to reproduce

I updated my code to feathers 5-pre.33, feathers-reactive@0.10.0, ... Afterwards I get the following typescript error: Property 'watch' does not exist on type 'FeathersService<Application<any, any>, Service<any, Partial, Params>>'. Did you mean 'patch'?ts(2551)

image

(First please check that this issue is not already solved as described here)

@Injectable() export class DataService { constructor(private feathers: Feathers) { } data() { return (this.feathers .service('datas')) .watch() .find({ query: { $limit: 3000 } }); } }

Expected behavior

Tell us what should happen No compile error

Actual behavior

Tell us what happens instead

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working): "@feathersjs/authentication": "^5.0.0-pre.29", "@feathersjs/authentication-client": "^5.0.0-pre.29", "@feathersjs/feathers": "^5.0.0-pre.29", "@feathersjs/koa": "^5.0.0-pre.29", "@feathersjs/socketio": "^5.0.0-pre.29", "@feathersjs/socketio-client": "^5.0.0-pre.29", "@feathersjs/transport-commons": "^5.0.0-pre.29", "@types/koa-static": "^4.0.2", "koa-static": "^5.0.0", "socket.io": "^4.5.1", "socket.io-client": "^4.5.1",

NodeJS version: 16.15.0 Angular 13.3.11 and 14.2.0 Operating System: Windows 10 (64 Bit) Browser Version:

React Native Version:

Module Loader:

Rokania commented 9 months ago

Hello, I have the same problem. Any news about this problem?