Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2e29e9

Browse files
CitoIvanGoncharov
authored andcommitted
Minor spelling errors in PossibleTpyeExtensions (graphql#1778)
1 parent 38b01af commit d2e29e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/validation/__tests__/PossibleTypeExtensions-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('Validate: Possible type extensions', () => {
7171
`);
7272
});
7373

74-
it('many extension per type', () => {
74+
it('many extensions per type', () => {
7575
expectValidSDL(`
7676
scalar FooScalar
7777
type FooObject
@@ -96,7 +96,7 @@ describe('Validate: Possible type extensions', () => {
9696
`);
9797
});
9898

99-
it('extending unknow type', () => {
99+
it('extending unknown type', () => {
100100
expectSDLErrors(`
101101
type Known
102102
@@ -116,7 +116,7 @@ describe('Validate: Possible type extensions', () => {
116116
]);
117117
});
118118

119-
it('doesnot consider non-type definitions', () => {
119+
it('does not consider non-type definitions', () => {
120120
expectSDLErrors(`
121121
query Foo { __typename }
122122
fragment Foo on Query { __typename }

src/validation/rules/PossibleTypeExtensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function extendingDifferentTypeKindMessage(
4444
/**
4545
* Possible type extension
4646
*
47-
* A type extension is only valid if the type defined and have the same kind.
47+
* A type extension is only valid if the type is defined and has the same kind.
4848
*/
4949
export function PossibleTypeExtensions(
5050
context: SDLValidationContext,

0 commit comments

Comments
 (0)