toSDL

Outputs a schema document to SDL. For executable documents, use toUtf8()

SDL representations must skip scalars definitions.

See https://spec.graphql.org/draft/#sel-GAHXJHABAB_D4G