Create a string type for UTF-8 encoded text.
Strings are encoded with dictionary compression - repeated strings reference earlier occurrences for compact encoding.
const User = ObjectType("User", { name: StringType(), email: StringType(),}); Copy
const User = ObjectType("User", { name: StringType(), email: StringType(),});
Create a string type for UTF-8 encoded text.
Strings are encoded with dictionary compression - repeated strings reference earlier occurrences for compact encoding.