Skip to content

Commit

Permalink
chore(gatsby-source-wordpress): make duplicate node message clearer (#…
Browse files Browse the repository at this point in the history
…37077)

make duplicate node message clearer
  • Loading branch information
TylerBarnes authored Nov 22, 2022
1 parent e0cb9f6 commit 62e0e13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const paginatedWpNodeFetch = async ({
if (node?.databaseId && node?.uri && existingNode?.uri) {
helpers.reporter.info(
formatLogMessage(
`#${node.databaseId} (${node.uri}) is a duplicate of ${existingNode.databaseId} (${existingNode.uri})`
`Node with ID ${node.databaseId}/${node.id} of type ${node.__typename} was fetched multiple times. This is a WPGraphQL bug where pagination returns duplicate nodes.`
)
)
}
Expand Down

0 comments on commit 62e0e13

Please sign in to comment.