My data appears in the playground query, but when I check the route, the data becomes an integer

System Information
  • Strapi Version: 3.4.0
  • Operating System: Mac
  • Database: PostgreSQL
  • Node Version: v14.3.0
  • NPM Version: 6.14.5
  • Yarn Version: 1.22.10

My data appears in the playground query, but when I check the route, the data becomes an integer.
Is this a bug or some configuration that I don’t know how to do?

by default we only populate one level deep for REST. Are you using REST or GraphQL on the frontend?

(The Playground is GraphQL)

i am using gatsby + graphql on the frontend with the gatsby-source-strapi plugin.

Just to close this case I had to change the controller to add more depth to the query