-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on angular 4.2.5 #327
Comments
I managed to fix some of this errors using the Observable class directly. Instead of this: this.apollo.watchQuery({
...
}).combineLatest(other$, ...) I used this: Observable.combineLatest(
this.apollo.watchQuery({
...
}),
other$,
...
) |
@razzaghi My CI build the project successfully so I suspected it was related to the dependencies cache. I performed a cleanup of my node_modules ( |
I still have the same problem :(. I updated yarn and I start getting the same error again:
|
@razzaghi The problem is being adressed here kamilkisiela/apollo-client-rxjs#44 |
Hi all! Try to add |
It didn't solve the problem, PR #45 did though, I tested it. |
Next version of apollo-angular will solve this #377 |
apollo-angular/node_modules/apollo-client-rxjs/build/src/RxObservableQuery.d.ts (7,22): Class 'RxObservableQuery' incorrectly extends base class 'Observable<ApolloQueryResult>'.
Types of property 'lift' are incompatible.
Type '(operator: Operator<ApolloQueryResult, ApolloQueryResult>) => Observable<ApolloQueryResu...' is not assignable to type '(operator: Operator<ApolloQueryResult, R>) => Observable'.
Types of parameters 'operator' and 'operator' are incompatible.
Type 'Operator<ApolloQueryResult, R>' is not assignable to type 'Operator<ApolloQueryResult, ApolloQueryResult<{}>>'.
Type 'R' is not assignable to type 'ApolloQueryResult<{}>'.
The text was updated successfully, but these errors were encountered: