GraphQL support in Aurelia


#1

Hi! How well does Aurelia work with GraphQL? I found an apollo bind for aurelia, but it doesn’t seem to have any development activity for the last two years.


#2

@jvik It absolutely does. The beautiful thing about Apollo Client is that it doesn’t require any kind of bridge or framework-specific library to work with Aurelia. I have a sample application here on Github which is a work in progress, but it shows the basics of using Apollo Client in Aurelia.

In my example, I am using Apollo Boost which is a combination of different Apollo libraries to make setting it up easier. I believe they’re working on streamlining this and bringing it into the core, but for now as you can see, it takes for basic setup a couple of lines of code.

If you had any questions, I would be happy to answer them.