From 5ee5406e13dcebbafe3a79cc8daa0e14041ff6ed Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Tue, 21 Nov 2017 10:05:22 +0100 Subject: [PATCH] Fix typos in doc block --- lib/graphql/type/introspection.ex | 2 +- lib/mix/tasks/compile.graphql.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/graphql/type/introspection.ex b/lib/graphql/type/introspection.ex index 399eea7..996013a 100644 --- a/lib/graphql/type/introspection.ex +++ b/lib/graphql/type/introspection.ex @@ -50,7 +50,7 @@ defmodule GraphQL.Type.Introspection do resolve: fn(%{mutation: mutation}) -> mutation end }, subscriptionType: %{ - description: "If this server support subscription, the type that subscription operations will be rooted at.", + description: "If this server supports subscription, the type that subscription operations will be rooted at.", type: Type, resolve: nil #fn(%{subscription: subscription}, _, _,_) -> subscription end }, diff --git a/lib/mix/tasks/compile.graphql.ex b/lib/mix/tasks/compile.graphql.ex index 147ac67..018d4cc 100644 --- a/lib/mix/tasks/compile.graphql.ex +++ b/lib/mix/tasks/compile.graphql.ex @@ -9,7 +9,7 @@ defmodule Mix.Tasks.Compile.Graphql do Currently only handles schema files, but will support queries in future. - To use this you need to add the `:graphql` compiler to the front ofyour compiler chain. + To use this you need to add the `:graphql` compiler to the front of your compiler chain. This just needs to be anywhere before the Elixir compiler because we are generating Elixir code.