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

Absinthe? #6

Closed
elie222 opened this issue Jan 15, 2017 · 4 comments
Closed

Absinthe? #6

elie222 opened this issue Jan 15, 2017 · 4 comments

Comments

@elie222
Copy link

elie222 commented Jan 15, 2017

Is this a different solution to:
absinthe-graphql/absinthe#156
?

@vic
Copy link
Owner

vic commented Jan 15, 2017

@elie222 I'd say it's not a different solution.

Absinthe is awesome, (currently using it four a couple of APIs of mine) and it's a server side technology, not really tied to any client you could use this or relay or plain curl to ask some gql.

Actually I'm using Absinthe for executing the queries, and used that as an example on the readme. I'm also interested on that issue, how to use absinthe for gql subscriptions and certainly using sockets can be a good candidate for that, so I guess I'll be looking forward to integrate subscriptions when @benwilson512 reports on what they'll look like with an Absinthe backend.

@conor-mac-aoidh
Copy link
Collaborator

@vic - @benwilson512 has posted an example of what subscriptions look like with an Absinthe backend. We should definitely start exploring how we can add subscription support to this repo.

@vic
Copy link
Owner

vic commented Jan 17, 2017

@conor-mac-aoidh great! thanks for the link to the example. And yes we should start adding subscriptions

AFAIK apollo-client supports two kind of subscriptions, real gql subscriptions and polling-subscriptions (particular to apollo) not requiring the server to support nothing more than queries/mutations. So I guess the second ones are already possible with this repo. But certainly we should explore looking at the linked example and support real gql subs.

As a side note, the Apollo guys are willing to accept some documentation PR for how to integrate with a Phoenix backend see this issue, some nice people have already written posts about it (see links in the issue).

@vic
Copy link
Owner

vic commented Jan 17, 2017

So let's close this as I guess there's nothing to do for this issue.

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