From 5312abc16b64d90e02dd6ec69ac684e03b5fd2ac Mon Sep 17 00:00:00 2001 From: Philipp Sonntag Date: Tue, 17 Dec 2024 16:28:32 +0100 Subject: [PATCH] chore(core): Removed the schema of the resolvers callback of plugin definitions --- packages/core/src/plugin/vendure-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/plugin/vendure-plugin.ts b/packages/core/src/plugin/vendure-plugin.ts index 12694589b4..3e300e9b7c 100644 --- a/packages/core/src/plugin/vendure-plugin.ts +++ b/packages/core/src/plugin/vendure-plugin.ts @@ -98,7 +98,7 @@ export interface APIExtensionDefinition { * * Passes the current schema as an optional argument, allowing the resolver to be based on the existing schema. */ - resolvers?: Array> | ((schema?: GraphQLSchema) => Array>); + resolvers?: Array> | (() => Array>); /** * @description * A map of GraphQL scalar types which should correspond to any custom scalars defined in your schema.