Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Graphql cost #1

Open
mrjvs opened this issue Sep 24, 2022 · 1 comment
Open

Graphql cost #1

mrjvs opened this issue Sep 24, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mrjvs
Copy link
Member

mrjvs commented Sep 24, 2022

to prevent spam and DDOS. a cost based query system needs to be implemented

  • decorator on queries/mutation in graphql schema to add the cost value
  • if a request exceeds X amount of points (cost) then reject the entire request
  • depth limit and max cost must be configurable with good default
@mrjvs mrjvs added the enhancement New feature or request label Sep 24, 2022
@mrjvs mrjvs moved this to Todo in Cascade 1.0 Sep 24, 2022
@eddie-englund
Copy link
Collaborator

yes

@mrjvs mrjvs moved this from Todo to In Progress in Cascade 1.0 Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

2 participants