You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// graphql-constraint-directive-fix.d.tsimporttype{ApolloServerPlugin}from"@apollo/server";importtype{PluginOptions}from"graphql-constraint-directive";export{};declare module "graphql-constraint-directive/apollo4"{/** * Create Apollo 4 validation plugin. * * @param options to setup plugin. `schema` is deprecated now, not used, as plugins gets schema from the Apollo Server. */exportfunctioncreateApollo4QueryValidationPlugin(options: PluginOptions): ApolloServerPlugin;}
Package version: 5.3.0
The latest package version has this type for the apollo4 plugin create function:
The expected type for this function is as follows:
I am willing to create a PR
The text was updated successfully, but these errors were encountered: