Coder Social home page Coder Social logo

Comments (3)

DataCorrupted avatar DataCorrupted commented on April 27, 2024 1

Thx, 我会稍作修改

from async-graphql.

DataCorrupted avatar DataCorrupted commented on April 27, 2024

"用Schema::data函数附加一个全局类型的数据"

  1. Schema::data or ContextBase::data? 我在documentation里没找到 Schema::data函数.
  2. "全局类型的数据" 如何理解? 如何和样例中给出的ctx.data::<DbPool>().take() 协调? 翻译成 "global typed data" 是否合适?

"并且你还能扩展标准的错误输出"

  1. 依照样例代码"扩展"被译作"extend" 是否合适?
  2. "错误输出" 还是 "错误信息"

InputObject

前后是否有空格不一致 (InputObject and Input Object), 暂时用没有空格的版本.

from async-graphql.

sunli829 avatar sunli829 commented on April 27, 2024

"用Schema::data函数附加一个全局类型的数据"

  1. 应该是SchemaBuilder::data和Context::data函数。
  2. SchemaBuilder::data设置schema data, Context::data设置context data,是否可以这样翻译?

"并且你还能扩展标准的错误输出"

  1. 我认为合适。
  2. 错误信息吧。

"InputObject"

应该是无空格版本。


抱歉,中文文档写得很仓促,有很多疏漏。😁

from async-graphql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.