摘要: Unions are used when we want a GraphQL field or list to handle multiple types of data. With a Union Type, we can define a field that could resolve com 阅读全文
posted @ 2019-08-20 18:06 Zhentiw 阅读(214) 评论(0) 推荐(0)
摘要: Interfaces are similar to Unions in that they provide a mechanism for dealing with different types of data. However, an interface is more suited for d 阅读全文
posted @ 2019-08-20 18:01 Zhentiw 阅读(232) 评论(0) 推荐(0)
摘要: Fragments are selection sets that can be used across multiple queries. They allow you to refactor redundant selection sets, and they are essential whe 阅读全文
posted @ 2019-08-20 17:42 Zhentiw 阅读(170) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-08-20 02:56 Zhentiw 阅读(3) 评论(0) 推荐(0)