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

Query Whitelisting / Persisted Queries #10

Closed
StevenLangbroek opened this issue Aug 23, 2017 · 4 comments
Closed

Query Whitelisting / Persisted Queries #10

StevenLangbroek opened this issue Aug 23, 2017 · 4 comments

Comments

@StevenLangbroek
Copy link

StevenLangbroek commented Aug 23, 2017

So, beside CRUD permissions, another angle would be to allow clients to extract their queries and submit them to an endpoint, basically disallowing any other queries. The problem this prevents is people using your GraphQL API to basically crawl your content. I'm gathering examples + documentation on the matter, curious what your thoughts are.

@StevenLangbroek
Copy link
Author

@StevenLangbroek StevenLangbroek changed the title [WIP] Query Whitelisting Query Whitelisting Aug 23, 2017
@StevenLangbroek StevenLangbroek changed the title Query Whitelisting Query Whitelisting / Persisted Queries Aug 23, 2017
markhuot added a commit that referenced this issue Aug 23, 2017
@markhuot
Copy link
Owner

This is definitely something I'd like to support down the road. I think it's a bit too early to add it in today as the schema is still a bit in flux (directive support, mutation work, etc…). I'm also curious to see if persisted queries eventually make their way in to the GraphQL spec.

Long story short, I'd like to support it and see it on the roadmap but I'm not ready to commit to it today unless you have a compelling use case for it on a current project.

I updated the roadmap with a reference to this issue. I'm going to close this, for now. Feel free to re-open if you have an immediate need for this.

@mashema
Copy link

mashema commented Jan 17, 2019

Hi Mark, wath is the timeframe, for implementing Persisted Queries

@mashema
Copy link

mashema commented Jan 17, 2019

Apollo approche
Automatic Persisted Queries (APQ)
https://www.apollographql.com/docs/references/engine-proxy.html#automatic-persisted-queries

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

3 participants