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.