Attribute Macro async_graphql::Scalar

source · []
#[Scalar]
Expand description

Define a Scalar

Macro attributes

AttributedescriptionTypeOptional
nameScalar namestringY
name_typeIf true, the scalar name will be specified from async_graphql::TypeName traitboolY
specified_by_urlProvide a specification URL for this scalar type, it must link to a human-readable specification of the data format, serialization and coercion rules for this scalar.stringY
inaccessibleIndicate that a scalar is not accessible from a supergraph when using Apollo FederationboolY
tagArbitrary string metadata that will be propagated to the supergraph when using Apollo Federation. This attribute is repeatablestringY