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
***optionalResolveType**: Makes `__resolveType` optional (`__resolveType?`) in resolver types.
364
+
***nullability**: When `errorHandlingClient: true`, adjusts nullability for fields marked with `@semanticNonNull` directive (requires `graphql-sock`).
367
365
368
-
5. Extra `__typename` present, or required `__typename` missing.
366
+
#### 5. Extra `__typename` present, or required `__typename` missing.
369
367
370
368
Experiment with the following configuration options to keep your codebase changes to a minimum:
371
369
372
-
```
373
-
skipTypename: prevents adding __typename to generated types unless explicitly in the selection set.
374
-
skipTypeNameForRoot: skips __typename specifically for root types (Query, Mutation, Subscription). Ignored if __typename is explicitly in the selection set
375
-
nonOptionalTypename: always adds __typename and makes it a required (non-optional) field.
376
-
addTypenameToSelectionSets: injects __typename directly into the generated document node selection sets.
377
-
resolversNonOptionalTypename: makes __typename non-optional in resolver mappings without affecting base types. Supports granular control via object form.
378
-
```
370
+
***skipTypename**: prevents adding `__typename` to generated types unless explicitly in the selection set.
371
+
***skipTypeNameForRoot**: skips `__typename` specifically for root types (Query, Mutation, Subscription). Ignored if `__typename` is explicitly in the selection set
372
+
***nonOptionalTypename**: always adds `__typename` and makes it a required (non-optional) field.
373
+
***addTypenameToSelectionSets**: injects `__typename` directly into the generated document node selection sets.
374
+
***resolversNonOptionalTypename**: makes `__typename` non-optional in resolver mappings without affecting base types. Supports granular control via object form.
0 commit comments