ember-graphql-tools-shim
v0.1.0
Published
An ember-cli shim for graphql-tools
Downloads
5
Maintainers
Readme
ember-graphql-tools-shim
This README outlines the details of collaborating on this Ember addon.
Installation
ember install ember-graphql-tools-shim
Usage
import graphqlTools from 'graphql-tools';
const { addResolveFunctionsToSchema } = graphqlTools;
addResolveFunctionsToSchema(this.pretender.schema, {
Query: {
watchers: () => mockWatchers
}
});
Developing
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.