Solved: Please expose Relay ID on authors within issue search results

schema-request

#1

When searching for issues and including nested authors, Relay ID is not available for authors.

Query:

query {
  search(type: ISSUE, query: "id>0", first: 1) {
    edges {
      node {
        ... on Issue {
          author {
            id
          }
        }
      }
    }
  }
}

Response:

{
  "data": null,
  "errors": [
    {
      "message": "Field 'id' doesn't exist on type 'Actor'",
      "locations": [
        {
          "line": 7,
          "column": 13
        }
      ]
    }
  ]
}

Would love to see this in early access/when possible. Thanks


#2

This is not needed as it can be done by using inline fragments.

Thanks @bswinnerton

query {
  search(type: ISSUE, query: "id>0", first: 1) {
    edges {
      node {
        ... on Issue {
          author {
            ... on User {
              id
            }
            
            ... on Organization {
              id
            }
            
            ... on Bot {
              id
            }
          }
        }
      }
    }
  }
}