Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Fix typos in comments #616

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions src/augment/augment.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const makeAugmentedExecutableSchema = ({
const isParsedTypeDefs = isSchemaDocument({ definition: typeDefs });
let definitions = [];
if (isParsedTypeDefs) {
// Print if we recieved parsed type definitions in a GraphQL Document
// Print if we received parsed type definitions in a GraphQL Document
definitions = _.cloneDeep(typeDefs.definitions);
} else {
// Otherwise parse the SDL and get its definitions
Expand Down Expand Up @@ -123,7 +123,7 @@ export const makeAugmentedExecutableSchema = ({
};

/**
* The main export for augmnetation a schema
* The main export for augmenting a schema
*/
export const augmentedSchema = (schema, config) => {
config = setDefaultConfig({ config });
Expand Down Expand Up @@ -364,7 +364,7 @@ export const extractSchemaDefinitions = ({ schema = {} }) => {
};

/**
* Getter for an array of type names excludes from an operation type
* Getter for an array of type names excluded from an operation type
*/
const getExcludedTypes = (config, operationTypeName) => {
return config &&
Expand Down