You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/codegen-options.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
|`generateApis`| Boolean | True | Specifies whether api classes should be generated as well as model classes. |
15
15
|`generateDataFetchingEnvironme`<br>`ntArgumentInApis`| Boolean | False | If true, then `graphql.schema.DataFetchingEnvironment env` will be added as a last argument to all methods of root type resolvers and field resolvers. |
16
16
|`generateEqualsAndHashCode`| Boolean | False | Specifies whether generated model classes should have equals and hashCode methods defined. |
17
+
|`generateParameterizedFieldsResolvers`| Boolean | True | Specifies whether separate `Resolver` interface for parametrized fields should be generated. If `false`, then add parametrized field to the type definition and ignore field parameters. If `true` then separate `Resolver` interface for parametrized fields will be generated. |
17
18
|`generateImmutableModels`| Boolean | False | Specifies whether generated model classes should be immutable. |
18
19
|`generateToString`| Boolean | False | Specifies whether generated model classes should have toString method defined. |
19
20
|`apiNamePrefix`| String | Empty | Sets the prefix for GraphQL api classes (query, mutation, subscription). |
0 commit comments