Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apollo4.d.ts is out of date #182

Open
imantwohat opened this issue Jun 30, 2023 · 1 comment
Open

apollo4.d.ts is out of date #182

imantwohat opened this issue Jun 30, 2023 · 1 comment

Comments

@imantwohat
Copy link

imantwohat commented Jun 30, 2023

Right now the TS for createApollo4QueryValidationPlugin has an input param, but it really does not anymore.

export function createApollo4QueryValidationPlugin ( options: { schema?: GraphQLSchema } ) : ApolloServerPlugin;

should be

export function createApollo4QueryValidationPlugin () : ApolloServerPlugin;

@koivumi79
Copy link
Contributor

There now seems to be feature to pass custom formatter to the plugin, but it is not available for typescript because of apollo4.d.ts has not been updated. So hopefully the apollo 4 typescripts are also updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants