graphql-go-tools: Could not plan the operation missing path

I have a federated graph using a version of the federation example as my gateway.

Most of my backends extend the Company-type and add fields to it.

Some queries now fails with the below error but not all and I see no pattern to which fail and which succeed. In some cases it’s even different for queries which target the same backend that behaves differently.

internal: bad datasource configuration - could not plan the operation. missing path: [query.company.__typename]

What might be the problem? What can I do to provide more information to identify the problem?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 25 (25 by maintainers)

Commits related to this issue

Most upvoted comments

Hi @argoyle

sorry for the big delay

could you try out a version from this PR I believe it should fix your problems with a typenames

Thanks, Wundergraph Team