UNPKG

@graphql-inspector/cli

Version:

Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.

8 lines (7 loc) 191 B
const key = Symbol.for('inspector-diagnostics'); export function setDiagnostics(app, diagnostics) { app[key] = diagnostics; } export function getDiagnostics(app) { return app[key]; }