@graphql-codegen/cli@7.1.3
Patch Changes
-
#10335
3280ace
Thanks @Diluka! - Fix graphql-config loading order to correctly
detect codegen projectsPreviously, a
graphql-configfile like this failed:projects: default: schema: 'default/schema.graphql' project1: schema: 'project1/schema.graphql' extensions: codegen: generates: 'project1/__generated__/types.ts': plugins: ['typescript']
This is because the
defaultproject doesn't have acodegenextension, which caused previous
logic to short circuit before readingproject1's config.The fix reads every named project first, before reading the
defaultproject to exhaustively go
through every single project.