Macro doc_scalar

Source
macro_rules! doc_scalar {
    ($ty:ty, $desc:literal) => { ... };
}
Expand description

Defines a GraphQL scalar with a description string.

This is equivalent to scalar! but always uses the stringified identifier as the name.