You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by mockServer in GraphQL tools, create GraphQL bindings for Kitimat. Given a schema.json and a query, I should create a generator.
import{fromGraphQL}from'kitimat-graphql';improtschemafrom'./schema.json';constserver=fromGraphQL(schema);constqueryGen=server(`query { me { id name }}`);check('my component renders',queryGen,result=>{// ...});
I'm already squating kitimat-graphql in packages.
The text was updated successfully, but these errors were encountered:
Inspired by
mockServer
in GraphQL tools, create GraphQL bindings for Kitimat. Given aschema.json
and a query, I should create a generator.I'm already squating
kitimat-graphql
in packages.The text was updated successfully, but these errors were encountered: