graphql/graphiql
在 GitHub 查看Unify doc explorer navigation around schema reference concept
Open
#298 建立於 2017年1月25日
enhancementgraphiqlhelp wantedresolved-by-monaco
倉庫指標
- Star
- (15,473 star)
- PR 合併指標
- (平均合併 3天 23小時) (30 天內合併 50 個 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