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


#1

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
}

}

}