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

Current directive cannot be used with apollo-server v3 #197

Open
BahaaZidan opened this issue Jun 10, 2022 · 1 comment
Open

Current directive cannot be used with apollo-server v3 #197

BahaaZidan opened this issue Jun 10, 2022 · 1 comment

Comments

@BahaaZidan
Copy link

  • I'm submitting a ...
    [ ] bug report
    [x] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

The release of Apollo Server 3 removes built-in support for the schemaDirectives option (this removal was to remove Apollo Server’s dependency on a long-outdated version of graphql-tools)

The release of graphql-tools v8 removes support for the SchemaDirectiveVisitor-based API in favor of mapSchema and getDirectives

This means the current implementation of the rate limit directive is not compatible with apollo-server v3.

@vincent-paing
Copy link

vincent-paing commented Feb 9, 2023

Have you found any alternative libraries? Seems like this repo is no longer maintained

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