We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac592a commit 837cd0bCopy full SHA for 837cd0b
website/pages/docs/abstract-types.mdx
@@ -192,8 +192,8 @@ enables code generation and editor tooling to provide type-aware completions.
192
- Return the `GraphQLObjectType` instance when possible for better clarity and static analysis.
193
- Keep `resolveType` logic simple, using consistent field shapes or tags to distinguish
194
types.
195
-- Test `resolveType` logic carefully. Misresolution often causes runtime errors that can be hard
196
-to trace.
+- Test `resolveType` logic carefully. Errors in `resolveType` can cause runtime errors that can
+be hard to trace.
197
- Use interfaces when types share fields and unions when types are structurally unrelated.
198
199
## Additional resources
0 commit comments