macro_rules! format_type {
($ty: expr, $wrapped_value: expr $(,)?) => { ... };
}
Expand description
Formats the given [Type
] and [WrappedValue
] into a readable GraphQL type
name.
§Examples
assert_eq!(format_type!("String", 123), "[String]!");
assert_eq!(format_type!("🦀", 123), "[🦀]!");