Skip to content

Commit a5bbc7b

Browse files
Joatin2fd
authored andcommitted
Added ".graphqls" and ".gqls" as valid schema file endings (#39)
1 parent 6c3801b commit a5bbc7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/command.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ export class GraphQLDocumentor extends Command<Flags, Params> {
264264
case '.json':
265265
return jsonSchemaLoader(projectPackage.graphdoc);
266266
case '.gql':
267+
case '.gqls':
268+
case '.graphqls':
267269
case '.graphql':
268270
return idlSchemaLoader(projectPackage.graphdoc);
269271
case '.js':

0 commit comments

Comments
 (0)