Skip to content

Commit 43ad13b

Browse files
committed
[readme] update codegen.yaml example
1 parent 2d013bd commit 43ad13b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ yarn install -D graphql-codegen-golang
2828
## Usage: `codegen.yaml`
2929

3030
```yaml
31-
schema: graphql/schema.graphql
32-
documents: graphql/documents/**/*.graphql
31+
schema: pkg/graphql/schema.graphql
32+
documents: pkg/graphql/!(schema).graphql
3333
generates:
3434
pkg/graphql/graphql.go:
3535
hooks:

0 commit comments

Comments
 (0)