Morpher
Morpher is the client-side version of the Morph
server-side exposure from cultofcoders:apollo
.
The reason we have it on NPM is that it can be used with any frontend layer/bundler/framework & React Native.
Install
// Then on the client; // Set your Apollo client; // Built-in mutationsdbusers;dbusers;dbusers; // Or define the in object style:const fields = firstName: 1 lastName: 1 lastInvoices: total: 1 ; // Or you could also define the fields in GraphQL style `firstName` dbusers ; // find equivallent .findOne()