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

[Feature] Need a environment variable for Alias limit in GraphQL #5404

Open
1 of 2 tasks
bijianing97 opened this issue May 10, 2024 · 0 comments
Open
1 of 2 tasks

[Feature] Need a environment variable for Alias limit in GraphQL #5404

bijianing97 opened this issue May 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bijianing97
Copy link

bijianing97 commented May 10, 2024

Description

I use the docker to start graphnode postgres and ipfs , I can find the GRAPH_GRAPHQL_MAX_DEPTH in Environment Variables, but I can not find Alias limit in GraphQL.

Maybe you can add the environment variable .

According to this blog https://checkmarx.com/blog/alias-and-directive-overloading-in-graphql/
When we talk about preventing DoS in GraphQL, we’re usually discussing how to handle complex queries with deeply nested or circular relationships or even about preventing batching attacks, but it’s not often that alias and directives are mentioned as potential vectors.

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out

  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.
@bijianing97 bijianing97 added the enhancement New feature or request label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant