Does GitHub v4 graphQL issues query return results even for pull requests

GitHub v3 api to get a single issue (based on id) would also return data if it is actually a pull request.

v3 API - https://developer.github.com/v3/issues/#get-a-single-issue

Does v4 also has the same behavior?

v4 query - 

query {
repository(owner:<owner>, name:<repoName>) {
issue(number : <issue_number>) {
id
number
state
title
    }

  }

}

Hi @shyama1208,

I suggest hopping over to our Platform Community, they specialize in GraphQL questions. I am going to move this post to a different board that fits your topic of discussion a bit better as well in case a community member wants to help here. 

As you’ll notice, your topic is now here in the How to use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here.

Cheers!