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

GraphQL Support #367

Open
benhaynes opened this Issue Sep 7, 2018 · 6 comments

Comments

Projects
None yet
2 participants
@benhaynes
Contributor

benhaynes commented Sep 7, 2018

🚨 MIGRATED FROM REQUESTS.GETDIRECTUS.COM 🚨

GraphQL support

πŸ‘ = 56

Created 1 year ago by @PierBover


@rijkvanzanten – πŸ‘ (1 year ago)

<3 this


@luminarious – (1 year ago)

As a front-end developer GraphQL feels magical every time and the performance improvements from getting only the data necessary for current view add up quickly!


@nikola66 – πŸ‘ (6 months ago)

It seems in the pipleline for Q2 / 2018 but really counting the days to get this!


@kosirm – πŸ‘ (5 months ago)

GraphQL and Microservices are most fast moving parts of the web in 2018!


@sendtogil – πŸ‘ (3 months ago)

plzzzzzz


@sendtogil – πŸ‘ (3 months ago)

plzzzzzz


@T-Specht – πŸ‘ (1 month ago)

Really looking forward to this feature for the usage with React


@bianpratama – πŸ‘ (3 weeks ago)

Can't wait!


@allanleonardjr – πŸ‘ (2 weeks ago)

Definitely need this!!!!

@stale

This comment has been minimized.

stale bot commented Dec 12, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 12, 2018

@benhaynes

This comment has been minimized.

Contributor

benhaynes commented Dec 13, 2018

I think this is the most requested feature by far... and it's the one that comes up in sales conversations the most too. What would it take to add support for this? Even if just to get some of that hype-train action. πŸ˜‰

Could it really be as easy as /_/gql/...? A single endpoint with this alternate query option...

@rijkvanzanten @WellingGuzman

@stale stale bot removed the stale label Dec 13, 2018

@rijkvanzanten

This comment has been minimized.

Contributor

rijkvanzanten commented Dec 13, 2018

The problem here is authentication and permissions. Recreating directus' granular permissions system to work with graphql is a lot of work. The next best thing we can do is make the graphql endpoint admin only and give full access to everything (no permissions check whatsoever)

@benhaynes

This comment has been minimized.

Contributor

benhaynes commented Dec 13, 2018

Ahh, right. I think that's a great option! So all we have to do is check that the token used is an administrator.

Do we have a sense of how long this would take? I assume there are libraries written for this already.

@rijkvanzanten

This comment has been minimized.

Contributor

rijkvanzanten commented Dec 13, 2018

@benhaynes

This comment has been minimized.

Contributor

benhaynes commented Dec 13, 2018

That one looks pretty good (stars, open issues, docs). @WellingGuzman can you give a time estimate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment