graphql-function
GraphQL Function Type
Installation
npm i --save graphql-function
Usage
var GraphQLFunction = // Use graphql-function in your GraphQL objects for Function propertiesvar fooType = name: 'Foo' description: 'Some foo function' fields: add: function: GraphQLFunction description: 'Function that adds two numbers' ; var queryType = name: 'Query' fields: foo: function: fooType { // ... }
License
MIT