pub fn validate(sdl: &str) -> Diagnostics
Validate the GraphQL SDL document and produce a possibly empty collection of errors.