Skip to content

Commit

Permalink
Merge pull request #225 from Yamashou/update-doc
Browse files Browse the repository at this point in the history
Update doc for structFieldsAlwaysPointers
  • Loading branch information
Yamashou authored Apr 24, 2024
2 parents 29b2a05 + 6e24864 commit fa26c9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ query:
- "./query/*.graphql" # Where are all the query files located?
generate:
clientInterfaceName: "GithubGraphQLClient" # Determine the name of the generated client interface
structFieldsAlwaysPointers: true # Always use pointers for struct fields (default: true) [same as gqlgen](https://github.com/99designs/gqlgen/blob/e1ef86e795e738654c98553b325a248c02c8c2f8/docs/content/config.md?plain=1#L73)
```
Load a schema from a local file:
Expand All @@ -76,6 +77,7 @@ query:
- "./query/*.graphql" # Where are all the query files located?
generate:
clientInterfaceName: "GithubGraphQLClient" # Determine the name of the generated client interface
structFieldsAlwaysPointers: true # Optional: Always use pointers for struct fields (default: true). [same as gqlgen](https://github.com/99designs/gqlgen/blob/e1ef86e795e738654c98553b325a248c02c8c2f8/docs/content/config.md?plain=1#L73)
```
Execute the following command on same directory for .gqlgenc.yml
Expand Down

0 comments on commit fa26c9a

Please sign in to comment.