Skip to content

Commit

Permalink
add Deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
muizu555 committed Feb 22, 2024
1 parent b3029fa commit 1053de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/generate_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ type GenerateConfig struct {
Prefix *NamingConfig `yaml:"prefix,omitempty"`
Suffix *NamingConfig `yaml:"suffix,omitempty"`
UnamedPattern string `yaml:"unamedPattern,omitempty"`
// deprecated
// Deprecated: not working because it is generated by gqlgen
Query *bool `yaml:"query,omitempty"`
// deprecated
// Deprecated: not working because it is generated by gqlgen
Mutation *bool `yaml:"mutation,omitempty"`
Client *bool `yaml:"client,omitempty"`
ClientInterfaceName *string `yaml:"clientInterfaceName,omitempty"`
Expand Down
2 changes: 0 additions & 2 deletions example/github/.gqlgenc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ query:
generate:
clientV2: true
clientInterfaceName: "GithubGraphQLClient"
query: false
mutation: false

0 comments on commit 1053de0

Please sign in to comment.