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

Allow specifying the cost limits per request #3

Closed
deinspanjer opened this issue May 31, 2019 · 3 comments
Closed

Allow specifying the cost limits per request #3

deinspanjer opened this issue May 31, 2019 · 3 comments

Comments

@deinspanjer
Copy link

We would like to allow different cost limits for different tiers of users.
Right now, the setting is a validation rule, so we can't dynamically change it.

@benjie
Copy link
Member

benjie commented Jun 8, 2019

@graphile/pro@0.8.0 is now out which introduces the ability to override limits on a per-request basis:

https://www.npmjs.com/package/@graphile/pro#overriding-limits-on-a-pre-request-basis

Let me know how you get on!

@benjie benjie closed this as completed Jun 8, 2019
@deinspanjer
Copy link
Author

I've done some initial testing with this and it seems to fit the bill perfectly! Will let you know when it is released

@benjie
Copy link
Member

benjie commented Jun 21, 2019

Great, thanks for letting me know 🙌

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