Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learn-Introspection #54

Merged
merged 2 commits into from
Aug 4, 2017
Merged

Learn-Introspection #54

merged 2 commits into from
Aug 4, 2017

Conversation

linonetwo
Copy link

@linonetwo linonetwo commented Jul 31, 2017

close #9

@@ -181,12 +156,6 @@ for tooling; let's ask the system for documentation!
}
```

So we can access the documentation about the type system using introspection,
and create documentation browsers, or rich IDE experiences.
因此我们可以通过自省系统接触到类型系统的文档,并做出文档浏览器,或是丰富的 IDE 体验。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“丰富的 IDE 体验”和“做出文档浏览器”好像没有并列关系,在前边加上一个“提供”如何?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

哈哈 初中病句修改题

introspection system.
包含了一系列展示了自省系统的查询,它也是一个测试文件,用来检验参考实现的自省系统。

如果我们设计了类型系统,我们自然知道哪些类型是可用的。但如果类型系统不是我们设计的,我们也可以问 GraphQL,通过查询 `__schema` 字段,一个查询的根类型总是有这个字段。现在来试试,查询一下有哪些可用的类型。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“我们也可以问 GraphQL”这句,断句有一点奇怪

@jonirrings
Copy link
Collaborator

@linonetwo @ydfzgyj 话说,introspection翻译作 内省 还是 自省?比较好。Java里面是内省

@ydfzgyj
Copy link
Collaborator

ydfzgyj commented Aug 4, 2017

话说,introspection翻译作 内省 还是 自省?比较好。Java里面是内省

唔……那就内省吧,我觉得没有区别……定下来的话,就在术语表里加一下

@jonirrings
Copy link
Collaborator

@ydfzgyj 已经添加到wiki了。大致没问题了吧?那我也approve了

Copy link
Collaborator

@jonirrings jonirrings left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@jonirrings jonirrings merged commit 7a5f90e into xitu:zh-Hans Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Learn-Introspection.md
4 participants