小编Ale*_*ith的帖子

GraphQL联盟和输入类型?

GraphQL中是否有可能具有也是联合的输入类型?

就像是:

const DynamicInputValueType = new GraphQLUnionType({
  name: 'DynamicInputType',
  types: [GraphQLString, GraphQLFloat, GraphQLInt]
})
Run Code Online (Sandbox Code Playgroud)

但也可以用作突变的输入?

graphql graphql-js

18
推荐指数
1
解决办法
4527
查看次数

标签 统计

graphql ×1

graphql-js ×1