graphql/graphiql

Unify doc explorer navigation around schema reference concept

开放

#298 创建于 2017年1月25日

 (1 条评论) (1 个反应) (0 位负责人)TypeScript (1,785 个派生)batch import
enhancementgraphiqlhelp wantedresolved-by-monaco

仓库指标

星标
 (15,473 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

As defined in https://github.com/graphql/codemirror-graphql/blob/master/src/utils/SchemaReference.js - SchemaReference gives us a serializable way to refer to different parts of a schema.

Ideally this general utility is moved into a place where it can be leveraged more broadly (graphql-js perhaps) along with serialization and deserialization utilities.

This would make a better general public API for navigating to any element, and would give codemirror-graphql a better interface for interoperating with any kind of documentation browser.

It would also unlock issues like #77 by allowing a serialization of the currently viewed doc

贡献者指南