vue-mc
vue-mc copied to clipboard
graphql integration
is it possible to make it work with graphql ? eg apollo client
At this stage we haven't considered supporting GraphQL. I'm not sure what that would involve exactly. Can you give me an example maybe?
Instead of route configuration, It might need to provide methods for each CRUD.
I need to use data modeling library for my vue project with GraphQL, Now I am considering backbone model or this one. It would be great it supports GraphQL.
This would be tough. Since vue-mc is mainly oriented to interact with models and API's in a Restful way, the effort required to support Graphql could be considerable. I'm not saying is not possible, but quite hard actually. :(
I think there should be a fork or alternative implementation that is designed around GraphQL, rather than to attempt a combination of the two with the same API. In saying that, I am not as familiar with GraphQL so that might not be the case. I am open to suggestions on this.
May have found a solution for GraphQL, can I submit a PR?