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

Support for GraphQL #54

Closed
goellner opened this issue Jul 23, 2021 · 2 comments · Fixed by #86
Closed

Support for GraphQL #54

goellner opened this issue Jul 23, 2021 · 2 comments · Fixed by #86

Comments

@goellner
Copy link

What would you like to see added?

For headless sites with lots of entries, this could be the killer feature thats currently missing in Statamic. Being able to store some Collections in a database would be the perfect solution.

Would be great to be able to enable GraphQL for certain models. Sometimes we just add models that just hold data and shouldn't be publicly queryable.

Is there a workaround you can use in the meantime?

Not that I can think of, is the data available in the content api?

Priority wise - where's this feature for you?

I'm going to need it at some point in the future but it's not major right now.

@duncanmcclean duncanmcclean changed the title FR: Support for GraphQL Support for GraphQL Jul 24, 2021
@duncanmcclean
Copy link
Member

I know this issue has been open for a pretty long time at this point and I just wanted to let you know that this is still on my to-do list. If nothing bigger gets in the way, hopefully it'll be worked on in the next couple weeks.

I've never used GraphQL before so it'll be an interesting feature to try and add but I'll do the best I can 😅

@duncanmcclean duncanmcclean mentioned this issue Sep 25, 2021
9 tasks
@duncanmcclean
Copy link
Member

After a long wait... GraphQL support has arrived (in v2.1.27!

I've written up some documentation over here so you can see how to enable it and start querying your models!

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

Successfully merging a pull request may close this issue.

2 participants