modelfak modelfak - 1 year ago 135
AngularJS Question

How I can use graphql with angular 1.5?

I have standart factories in my angular app for rest api. I need to configure my angular app for api with GraphQl. How i can do this? I now about
angular2-apollo but I have angular 1.5.

Answer Source

Yes you can use Apollo-Client and just wrap the functions with $q.

Here is an example (Look at the Angular1App folder):

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download