3using HotChocolate.Language;
4using HotChocolate.Types;
27 protected override string ParseLiteral(StringValueNode valueSyntax)
29 ArgumentNullException.ThrowIfNull(valueSyntax);
30 return valueSyntax.Value;
34 protected override StringValueNode
ParseValue(
string runtimeValue)
A ScalarType<TRuntimeType, TLiteral> for specialized string types.
override IValueNode ParseResult(object? resultValue)
StringScalarType(string name)
Initializes a new instance of the StringScalarType class.
override string ParseLiteral(StringValueNode valueSyntax)
override StringValueNode ParseValue(string runtimeValue)