crystal-libraries-needed icon indicating copy to clipboard operation
crystal-libraries-needed copied to clipboard

GraphQL

Open drujensen opened this issue 7 years ago • 12 comments

https://github.com/graphql

drujensen avatar May 22 '17 16:05 drujensen

@emilebosch is interested in building this.

drujensen avatar May 22 '17 16:05 drujensen

Is this not the same thing? https://github.com/ziprandom/graphql-crystal

jwoertink avatar May 22 '17 17:05 jwoertink

Good catch @jwoertink should have checked. I will let Emile know about it.

drujensen avatar May 22 '17 17:05 drujensen

From the graphql-crystal readme it says it's simply a graphql parser. That parser could be used to implement a library but i'm sure it's not all too useful by itself.

RX14 avatar May 22 '17 18:05 RX14

Its far from anything at the moment! Ill check out the amount of work that needs to be done

Sent from my iPhone

On 22 May 2017, at 20:24, Chris Hobbs [email protected] wrote:

From the graphql-crystal readme it looks like it's simply a graphql parser. That parser could be used to implement a library but i'm sure it's not all too useful by itself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

emilebosch avatar May 22 '17 19:05 emilebosch

@emilebosch do you want to be assigned to this?

if so, @johnjansen can you add @emilebosch to the ticket?

drujensen avatar May 22 '17 22:05 drujensen

The thing is, graphql library is no small feat. I want to take the lead on it, but i need other people that use graphql in their day jobs in order to do it properly.

emilebosch avatar May 24 '17 07:05 emilebosch

But assign it to me, and ill see if i can find some peeps to do it

emilebosch avatar May 24 '17 07:05 emilebosch

hey @emilebosch once you accept the collab, i can assign this to you :-)

johnjansen avatar May 24 '17 15:05 johnjansen

I can try help. Having fun project which I want port to Crystal from Rails, or at least some parts and GraphQL API is one of them

schovi avatar Jun 06 '17 20:06 schovi

Sorry for the late answer, I didn't come across this discussion. actually graphql-crystal is already much more than just a parser. I didn't find the time to update the readme but look at the specs. It already supports schema definition, queries, mutations and introspection. The only mayor protocol feature that's left is directives which I'm currently working on. directives still is a pretty abstract concept in the graphql spec itself (basically just a blanco syntax that can be used to express any behaviour or (meta-)information). graphql-crystal already supports the @include and @skip directives but I'm trying to create an api to define custom directives and hook into the execution via middlewares. any contributions are welcome!

ziprandom avatar Jun 07 '17 00:06 ziprandom

https://github.com/ziprandom/kemal-graphql-example

ziprandom avatar Jun 20 '17 00:06 ziprandom