Skip to content

[WIP] Introduce a MaskedDocumentNode type to contain both the masked and full types #2364

[WIP] Introduce a MaskedDocumentNode type to contain both the masked and full types

[WIP] Introduce a MaskedDocumentNode type to contain both the masked and full types #2364

Triggered via pull request September 20, 2024 17:34
Status Failure
Total duration 29s
Artifacts

api-extractor.yml

on: pull_request
Api-Extractor
18s
Api-Extractor
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Api-Extractor: src/react/hooks/useLazyQuery.ts#L242
Argument of type 'ApolloQueryResult<Unmask<TData>>' is not assignable to parameter of type 'ApolloQueryResult<MaybeMasked<TData>>'.
Api-Extractor: src/react/hooks/useLazyQuery.ts#L251
Argument of type 'ApolloQueryResult<TData>' is not assignable to parameter of type 'ApolloQueryResult<MaybeMasked<TData>>'.
Api-Extractor: src/react/hooks/useLoadableQuery.ts#L213
Type '(options: Partial<TVariables> | undefined) => Promise<ApolloQueryResult<TData>>' is not assignable to type 'RefetchFunction<TData, TVariables>'.
Api-Extractor: src/react/hooks/useQueryRefHandlers.ts#L97
Type '(variables: Partial<TVariables> | undefined) => Promise<ApolloQueryResult<TData>>' is not assignable to type 'RefetchFunction<TData, TVariables>'.
Api-Extractor: src/react/hooks/useSubscription.ts#L362
Type 'Observable<FetchResult<MaybeMasked<TData>>>' is not assignable to type 'Observable<FetchResult<TData>>'.
Api-Extractor: src/react/hooks/useSubscription.ts#L364
'observable' is possibly 'null'.
Api-Extractor: src/react/internal/cache/QueryReference.ts#L360
Type '{ data: Unmask<TData>; errors?: ReadonlyArray<GraphQLFormattedError>; error?: ApolloError; loading: boolean; networkStatus: NetworkStatus; partial?: boolean; }' is not assignable to type 'ApolloQueryResult<TData>'.
Api-Extractor: src/react/internal/cache/QueryReference.ts#L377
Argument of type 'Promise<ApolloQueryResult<MaybeMasked<TData>>>' is not assignable to parameter of type 'Promise<ApolloQueryResult<TData>>'.
Api-Extractor: src/react/internal/cache/QueryReference.ts#L381
Argument of type 'Promise<ApolloQueryResult<MaybeMasked<TData>>>' is not assignable to parameter of type 'Promise<ApolloQueryResult<TData>>'.
Api-Extractor: src/react/internal/cache/QueryReference.ts#L484
Type 'ApolloQueryResult<Unmask<TData>>' is not assignable to type 'ApolloQueryResult<TData>'.