Commit 6d99f92 uses globby which breaks file scanning in Next.js apps
msheakoski opened this issue · comments
msheakoski commented
Commit 6d99f92 introduced a change where glob
was switched to globby
in file-scanner.ts. Because globby skips folders with symbols in it's name, scanning for gql
fails when it is located inside of files containing brackets such as src/pages/[category]/[product].tsx
which are used in nearly all Next.js apps for routing.
Related issue: dotansimha/graphql-code-generator#3058
Arda TANRIKULU commented
It is related to document loader in core not file-scanner
. But you're right, this is a bug. We're currently investigating it.
Arda TANRIKULU commented
Fixed in v0.8.1!