Skip to content

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

[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 #2552

Triggered via pull request September 19, 2024 22:02
Status Failure
Total duration 1m 10s
Artifacts

compare-build-output.yml

on: pull_request
Compare Build Output
57s
Compare Build Output
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Compare Build Output: src/core/ObservableQuery.ts#L274
Type 'MaybeMasked<TData>' is not assignable to type 'TData'.
Compare Build Output: src/core/ObservableQuery.ts#L1057
Type 'MaybeMasked<TData>' is not assignable to type 'TData'.
Compare Build Output: src/core/QueryManager.ts#L360
Type '{ [x: string]: never; [x: number]: never; [x: symbol]: never; } | MaybeMasked<TData>' is not assignable to type 'undefined'.
Compare Build Output: src/core/QueryManager.ts#L818
Type 'MaybeMasked<TData>' is not assignable to type 'TData'.
Compare Build Output: src/core/QueryManager.ts#L1065
Type '{ [x: string]: never; [x: number]: never; [x: symbol]: never; } | MaybeMasked<T>' is not assignable to type 'T | null | undefined'.
Compare Build Output: src/react/components/Mutation.tsx#L18
Argument of type '(options?: MutationFunctionOptions<TData, TVariables, DefaultContext, ApolloCache<any>> | undefined) => Promise<...>' is not assignable to parameter of type 'MutationFunction<TData, TVariables, DefaultContext>'.
Compare Build Output: src/react/hooks/useMutation.ts#L137
Argument of type '{ mutation: DocumentNode | TypedDocumentNode<TData, TVariables>; client?: ApolloClient<object>; ... 14 more ...; context?: TContext | undefined; }' is not assignable to parameter of type 'Partial<OptionsUnion<any, any, any>> | Partial<Partial<OptionsUnion<any, any, any>>> | undefined'.
Compare Build Output: src/react/hooks/useMutation.ts#L154
Argument of type 'MutationOptions<TData, OperationVariables, DefaultContext, ApolloCache<any>>' is not assignable to parameter of type 'BaseMutationOptions<any, OperationVariables, DefaultContext, ApolloCache<any>>'.
Compare Build Output: src/react/hooks/useMutation.ts#L160
Property 'ignoreResults' does not exist on type 'Partial<OptionsUnion<any, any, any>>'.
Compare Build Output: src/react/hooks/useMutation.ts#L181
Argument of type 'MutationOptions<TData, OperationVariables, DefaultContext, ApolloCache<any>>' is not assignable to parameter of type 'BaseMutationOptions<any, OperationVariables, DefaultContext, ApolloCache<any>>'.