getQuery

abstract fun getQuery(annotations: Array<out Annotation>): String?(source)

Finds graphql content matching the value provided by GraphQuery

Return

GraphQL query in the form of String or null if the request method was not annotated with GraphQuery, or if no such file could be found.

Parameters

annotations

A collection of method annotation from an ongoing request