[graphql] some refactoring to make for less typing

2 jobs for 489-dev-graph-explorer-fixes in 0 seconds (queued for 75 minutes and 36 seconds)
Status Job ID Name Coverage
  Test
failed #5801
deps

failed #5802
test

 
Name Stage Failure
failed
test Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace
failed
deps Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace