- Notifications
You must be signed in to change notification settings - Fork21
Description
Hey there, just trying out the latest:
@graphql-codegen/typed-document-node@1.17.9
with
apollo-angular@2.0.3
and
@apollo/client@3.1.3
Observations:
Contrary to the documentation there doesnot appear to be build in support inapollo-angular@2.0.3. Here is a snippet of the d.ts that ships with that release, you can see thatTData is not being passed through toWatchQueryOptions:
watchQuery<TData,TVariables=EmptyObject>(options:WatchQueryOptions<TVariables>):QueryRef<TData,TVariables>;query<T,V=EmptyObject>(options:QueryOptions<V>):Observable<ApolloQueryResult<T>>;mutate<T,V=EmptyObject>(options:MutationOptions<T,V>):Observable<FetchResult<T>>;subscribe<T,V=EmptyObject>(options:SubscriptionOptions<V>,extra?:ExtraSubscriptionOptions):Observable<FetchResult<T>>;
In addition, support isnot added toapollo-angular by runningpatch-typed-document-node.
As expected, there is no built in support for@apollo/client@3.1.3. But when the documentation states that it is built in as of3.2.0 - does it mean that installing one of the betas is sufficient (since3.2.0 is not actually released yet)?
Support for@apollo/client was successfully added by runningpatch-typed-document-node`.
Thanks again!