n1ru4l/graphql-live-query

Make InMemoryLiveQueryStore.execute compatible with overloaded arguments

Closed this issue · 0 comments

aka

export function execute(
  args: ExecutionArgs,
): PromiseOrValue<
  ExecutionResult | AsyncIterableIterator<AsyncExecutionResult>
>;
export function execute(
  schema: GraphQLSchema,
  document: DocumentNode,
  rootValue?: any,
  contextValue?: any,
  variableValues?: Maybe<{ [key: string]: any }>,
  operationName?: Maybe<string>,
  fieldResolver?: Maybe<GraphQLFieldResolver<any, any>>,
  typeResolver?: Maybe<GraphQLTypeResolver<any, any>>,
): PromiseOrValue<
  ExecutionResult | AsyncIterableIterator<AsyncExecutionResult>
>;