Open justinbmeyer opened 8 years ago
or perhaps graphql, with apollo being like the only client. https://forums.donejs.com/t/apollo-graphql-integration/896
@janat08 can you share some details of what this integration might look like? How could one map the CRUD / REST of can-connect
to graphql?
https://github.com/apollographql/apollo-codegen/blob/master/README.md I believe this responsible for the graph crud abstraction.
I dont know what connect does now for lack of experience with rest services. But the idea with graph is that theres just one endpoint, and the commands there are parsed dynamically.
It might be case that it would be easier to use apollo and integrate with view.
@justinbmeyer integration of apollo client is the same as with feathers its simply a framework for browser and node the server side accepts on a single endpoint queryParms in a custom formart that the apollo client creates like the feathers client does it at present.
I know that because i have done a Project with Apollo but its not generic enought as i needed to add a lot of extra stuff but the base was the feathersjs example.
extra stuff i needed to add was List and Data Managment so i used the Apollo Client Directly and Updated my Instances with manual code event based i will publish a simple generic example to https://github.com/stealify/connect-apollo
It would be nice to have examples of can-connect supporting other frameworks. Backbone seems like the obvious primary candidate.
The big integration point is bindings.