abstract-storage

node v6.17.1
version: 0.0.0
endpointsharetweet
require('graphql'); var { default: graphql } = require('graphql-anywhere'); var { default: gql } = require('graphql-tag'); var resolver = (name, root, args) => { if (name == 'find') { if (!args.storages) throw new Error('Argument storages is not founded.'); else return {}; } else { return null; } }; exports.default = (query, variables, context) => graphql(resolver, query, null, context, variables);
Loading…

no comments

    sign in to comment