sdl

package
v1.0.0-beta.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sdl renders an introspected GraphQL schema as SDL.

The implementation is heavily inspired by https://github.com/graphql/graphql-js/blob/v14.2.1/src/utilities/schemaPrinter.js, which is what the previous implementation, `graphql-json-to-sdl`, was using.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(w io.Writer, schema *introspection.Schema)

Format renders the schema as GraphQL SDL. GraphQL builtins (the primitive scalars, the deprecated directive definition, and the introspection meta-types) are omitted.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL