Skip to content

Commit

Permalink
doc(graphql): add documentation for a function
Browse files Browse the repository at this point in the history
  • Loading branch information
calebmer committed Oct 9, 2016
1 parent 2878b95 commit 4b99a52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/graphql/schema/createGraphqlSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export type SchemaOptions = {
nodeIdFieldName?: string,
}

// TODO: doc
/**
* Creates a GraphQL schema using an instance of `Inventory`.
*/
export default function createGraphqlSchema (inventory: Inventory, options: SchemaOptions = {}): GraphQLSchema {
// We take our user-friendly arguments to `createGraphqlSchema` and convert them
// into a build token. One nice side effect of always creating our own
Expand Down

0 comments on commit 4b99a52

Please sign in to comment.