Querying a nested component within a nested component only returns id

I’m using Gatsby.js and Strapi: 3.1.4.

I’ve got three components called Category, Lecture, and Lecturer. A category has many lectures, and a lecture has one lecturer.

Querying the components like this works fine on localhost:1337/graphql

{ categories { title lectures { lecturer { name } } } }

But it doesn’t work on localhost:8000/____graphql, as it only returns the id of the lecturer.It think it’s same problem as this github issue