Skip to content

Misc comment typos #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/__tests__/starWarsSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ var droidType = new GraphQLObjectType({
* This is the type that will be the root of our query, and the
* entry point into our schema. It gives us the ability to fetch
* objects by their IDs, as well as to fetch the undisputed hero
* of the Star Wars triolgy, R2-D2, directly.
* of the Star Wars trilogy, R2-D2, directly.
*
* This implements the following type system shorthand:
* type Query {
Expand Down
6 changes: 3 additions & 3 deletions src/executor/executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type ExecutionContext = {
}

/**
* The result of exeution. `data` is the result of executing the
* The result of execution. `data` is the result of executing the
* query, `errors` is null if no errors occurred, and is a
* non-empty array if an error occurred.
*/
Expand Down Expand Up @@ -483,7 +483,7 @@ function resolveField(
/**
* Resolves the field on the given source object. In particular, this
* figures out the object that the field returns using the resolve function,
* then calls completeField to corece scalars or execute the sub
* then calls completeField to coerce scalars or execute the sub
* selection set for objects.
*/
function resolveFieldOrError(
Expand Down Expand Up @@ -666,7 +666,7 @@ function isThenable(value: any): boolean {
/**
* This method looks up the field on the given type defintion.
* It has special casing for the two introspection fields, __schema
* and __typename. __typename is special becuase it can always be
* and __typename. __typename is special because it can always be
* queried as a field, even in situations where no other fields
* are allowed, like on a Union. __schema could get automatically
* added to the query type, but that would require mutating type
Expand Down
2 changes: 1 addition & 1 deletion src/language/source.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* A representation of source input to GraphQL. The name is optional,
* but is mostly useful for clients who store GraphQL documents in
* souce files; for example, if the GraphQL input is in a file Foo.graphql,
* source files; for example, if the GraphQL input is in a file Foo.graphql,
* it might be useful for name to be "Foo.graphql".
*/
export class Source {
Expand Down
2 changes: 1 addition & 1 deletion src/language/visitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const BREAK = {};

/**
* visit() will walk through an AST using a depth first traversal, calling
* the visitor's enter function at each node in the traveral, and calling the
* the visitor's enter function at each node in the traversal, and calling the
* leave function after visiting that node and all of it's child nodes.
*
* By returning different values from the enter and leave functions, the
Expand Down