title |
---|
Scalars |
These are types without any fields(For example string
, int32
, boolean
, etc.)
Scalar can be declared using the scalar
keyword
scalar ternary;
Scalar can be extended using the extends
keyword.
scalar Password extends string;
Scalar support template parameters. Note: the only use for those template are decorators.
@doc(Type)
scalar Unreal<Type extends string>;