Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 4 tasks
rohinz opened this issue May 16, 2024 · 0 comments
Open
1 of 4 tasks

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

rohinz opened this issue May 16, 2024 · 0 comments

Comments

@rohinz
Copy link

rohinz commented May 16, 2024

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?

  • Question
  • Idea
  • Bug
  • New example or operation collection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant