Skip to main content

variable_to_graphql

Function variable_to_graphql 

Source
pub fn variable_to_graphql(var: &Variable) -> String
Expand description

Map GraphQL variable type to its GraphQL SDL string representation. e.g. required String -> “String!”, optional Int -> “Int”