Relay Todo Example: Why define types 'Todo' and 'User' separately from the GraphQL version of the types?

后端 未结 0 1649
孤街浪徒
孤街浪徒 2021-01-07 07:14

In the Relay Todo example in \'/data/database.js\' the types Todo and User are created, but then in \'/data/schema/nodes.js\' GraphQLObjectTypes are created for each of thes

相关标签:
回答
  • 消灭零回复
提交回复
热议问题