[BE] Add has_dependency_paths field to GraphQL

Please spike for more details: #563051 (comment 2703814883)

Current
image

Fortunately, we don't have to worry about DP on click, as that's already a GraphQL request

Request Response
image image
Edited by 🤖 GitLab Bot 🤖