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
* use new reporter.panic signature with error code for schema customization
* add the prefixed typename as a node property when creating nodes to prevent gql errors with interfaces
* fix union types that have a field called "type"
* prevent excluded types from throwing errors in connection fields
* test node interface resolution
* test that interfaces that are mixed node and non-node resolve
* prefix the __typename field in the default resolver for Gatsby v3
* an interface type is only a gatsby node type if all implementing types are gatsby node types
* exclude Commenter.databaseId in int tests to get around WPGQL bug
* only return null if there's no gatsby node AND no resolved field data
Copy file name to clipboardExpand all lines: packages/gatsby-source-wordpress/src/steps/create-schema-customization/transform-fields/default-resolver.js
Copy file name to clipboardExpand all lines: packages/gatsby-source-wordpress/src/steps/create-schema-customization/transform-fields/transform-object.js
Copy file name to clipboardExpand all lines: packages/gatsby-source-wordpress/src/steps/create-schema-customization/transform-fields/transform-union.js
Copy file name to clipboardExpand all lines: packages/gatsby-source-wordpress/src/steps/ingest-remote-schema/build-queries-from-introspection/recursively-transform-fields.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -303,10 +303,10 @@ export function transformField({
303
303
constisAGatsbyNode=
304
304
// if this is a gatsby node type
305
305
gatsbyNodesInfo.typeNames.includes(typeName)||
306
-
// or this type has a possible type which is a gatsby node type
306
+
// or all possible types on this type are Gatsby node types
0 commit comments