Skip to content

Commit

Permalink
chore(core): Removed the schema of the resolvers callback of plugin d…
Browse files Browse the repository at this point in the history
…efinitions
  • Loading branch information
sonntag-philipp committed Dec 17, 2024
1 parent 3428ab9 commit 5312abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/plugin/vendure-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Type<any>> | ((schema?: GraphQLSchema) => Array<Type<any>>);
resolvers?: Array<Type<any>> | (() => Array<Type<any>>);
/**
* @description
* A map of GraphQL scalar types which should correspond to any custom scalars defined in your schema.
Expand Down

0 comments on commit 5312abc

Please sign in to comment.