Skip to content

Commit 0b72d81

Browse files
add .gqls to valid schema files #845
1 parent 1c9b8f5 commit 0b72d81

File tree

1 file changed

+1
-1
lines changed
  • graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen

1 file changed

+1
-1
lines changed

graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/CodeGen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class CodeGen(
133133
val zipFile = ZipFile(file)
134134
for (entry in zipFile.entries()) {
135135
if (!entry.isDirectory &&
136-
(entry.name.endsWith(".graphqls") || entry.name.endsWith(".graphql"))
136+
(entry.name.endsWith(".graphqls") || entry.name.endsWith(".graphql") || entry.name.endsWith(".gqls"))
137137
) {
138138
logger.info("Generating schema from {}: {}", file.name, entry.name)
139139
readerBuilder.reader(zipFile.getInputStream(entry).reader(), "codegen")

0 commit comments

Comments
 (0)