apollographql / apollo-studio-community

🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
https://studio.apollographql.com
249 stars 29 forks source link

GraphOS Platform API field __typename always returns "Service" #275

Closed rohinz closed 4 months ago

rohinz commented 6 months ago

Context

When executing any graphql operation of the GrapOS Platform API, the api always returns the value Service for the __typename field.

Example:

query GetGraph($graphId: ID!) {
  graph(id: $graphId) {
    __typename
    id
    title
  }
}

Variables:

{
  "graphId": "apollo-platform"
}

Response:

{
  "data": {
    "graph": {
      "__typename": "Service",
      "id": "apollo-platform",
      "title": "Apollo Platform API"
    }
  }
}

Expected Response:

{
  "data": {
    "graph": {
      "__typename": "Graph",
      "id": "apollo-platform",
      "title": "Apollo Platform API"
    }
  }
}

Same behavior for other queries, too.

What type of feedback is this?

rohinz commented 4 months ago

The issue was fixed in one of the last releases