腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
如
何为
GraphQLString
类型
创建
别名
?
graphql
、
graphql-js
、
graphql-schema
在某些语言中,您可以将基本
类型
(
如
string )重命名为其他
类型
: type alias UUID = String 它仍然是字符串
类型
,但现在您可以更好地理解代码。parseLiteral(ast) { if (ast.kind === Kind.
GraphQLString
是否有可能为基本
类型
创建
别名</em
浏览 13
提问于2019-10-06
得票数 0
回答已采纳
2
回答
GraphQL.js节点/快递:如何将对象作为GraphQL查询参数传递
node.js
、
express
、
graphql
const filterType = new GraphQLObjectType ({ fields: { fieldValues: { type:
GraphQLString
}, } const
浏览 4
提问于2017-03-10
得票数 8
1
回答
如
何为
类型
添加
别名
(例如string、int...)
graphql
但是我怎么能给一个
类型
起
别名
呢? 例如,我如
何为
int或string
类型
设置
别名
?type MyStringType = String会工作吗?
浏览 10
提问于2019-11-26
得票数 1
回答已采纳
1
回答
在graphql中嵌套数据的正确方式是什么?
graphql
required: true zipCode: { required: true } phoneNum: { type:
GraphQLString
}, streetAddress: { type:
GraphQLString
}, state: { ty
浏览 12
提问于2020-03-02
得票数 2
回答已采纳
1
回答
纠正字符串列表的graphQL语法
javascript
、
graphql
、
graphql-js
这是从http响应接收到的JSON对象的片段。 我感谢所有的帮助。我是GraphQL的新手,但我试着自己解决这个问题。答案是难以捉摸的,因为我看到的所有例子都与引用图形中其他节点的列表有关。
浏览 0
提问于2018-04-06
得票数 0
回答已采纳
2
回答
如
何为
cd和ls
创建
别名
?
command-line
、
bash
、
alias
如
何为
此操作
创建
别名
(
如
cs)?
浏览 0
提问于2010-12-03
得票数 34
回答已采纳
1
回答
graphql的多个内置
类型
node.js
、
types
、
graphql
、
graphql-js
如
何为
graphql
创建
多
类型
?我有这个给定的代码: type:
GraphQLString
|| GraphQLBoolean,} 显然这是行不通的,因为它将布尔值转换为字符串
浏览 21
提问于2017-07-07
得票数 0
1
回答
graphql 400错误请求-必须提供操作
graphql
、
postman
我试图在GraphQL中访问Postman查询,但这会导致400个错误的请求。type Query {} optionalSubjects: [String!] defaultSubjects: String!}
浏览 6
提问于2022-10-05
得票数 0
回答已采纳
2
回答
在GraphQL模式中,一个字段如何既是
GraphQLString
又是GraphQLInt?
graphql
、
relayjs
、
relay
、
graphql-js
GraphQLObjectType({ fields: { value: {type:
GraphQLString
} // TODO: allow for string as well as int}); 如何让' value‘字段接受字符串值和整数值,以便可以使用正确的
类型
进行存储?
浏览 0
提问于2017-02-20
得票数 0
1
回答
字符串不能表示值GraphQL
javascript
、
graphql
我试图更改
类型
: GraphQLList。Valadares', 'Teofilo Otoni', 'Monte Claros']}, GraphQLObjectType,
GraphQLString
AlfaRegionType = new GraphQLObjectType({ fields: () => ({ id: {type:
浏览 2
提问于2020-02-02
得票数 1
回答已采纳
1
回答
如何在连接到GraphQL的mLab中为“更新”数据编写变异
mongoose
、
graphql
、
crud
我不知道如
何为
“更新”数据编写变异。现在我有正确的“
创建
”和“删除”突变:addMovie: {args: { genre: {type: new GraphQLNonNull(
GraphQLString
)}resolve(parent, args) {”突变,到目前为止我做的最好的是:editMovie: { type:
浏览 2
提问于2018-05-31
得票数 0
回答已采纳
2
回答
对于GraphQL,声明一个与GraphQL“
类型
”没有明显区别的支持模型“类”有什么好处或必要性?
javascript
、
reactjs
、
graphql
、
relay
下面是“
类型
”,它实际上与原来的
别名
有一点不同。: (obj) => obj.User_DisplayName }, User_Email: { type:
GraphQLString
, resolve: (obj) =>: { type:
Grap
浏览 6
提问于2016-07-02
得票数 1
回答已采纳
1
回答
使用graphQlObjectType的图Ql模式
node.js
、
express
、
graphql
我是图Ql.but的初学者,我正在尝试
创建
一个带有节点的grapghql服务器,并表示如下.const _ = require('lodash') graphql; title: { type:
GraphQLString
},
浏览 0
提问于2018-09-27
得票数 1
回答已采纳
1
回答
变异中的GraphQL嵌套数据
graphql
、
apollo
、
graphiql
、
graphql-tag
在模式中的
类型
包含嵌套
类型
的GraphQL中,我遇到了一些困难。{ Date: { type:
GraphQLString
}, .then(resp => resp.data); } 我可以在GraphiQL中编写一个变体来为预订<em
浏览 4
提问于2018-03-14
得票数 0
1
回答
订阅的GraphQLObjectType
graphql
、
graphql-js
、
express-graphql
、
graphql-subscriptions
、
graphql-schema
我使用Express实现了一个GraphQL服务器,并且我在设置GraphQL订阅
类型
时遇到了一个问题。我正在开发一个实时聊天应用程序,我试图在
创建
新消息后发布事件,但我不知道应该如
何为
订阅
创建
GraphQLObjectType。** })下面是我
创建
的MessageType: name: 'Message', fields: () => ({
浏览 16
提问于2020-06-04
得票数 3
2
回答
GraphQL
类型
组合
design-patterns
、
graphql
、
graphql-js
、
apollo
我正在探索graphql,困扰我的问题是,在定义我的graphql服务器时,我是否可以进行某种
类型
组合。 lastName: {type:
GraphQLString
}}); name: 'Company', name: {type:
GraphQLString
}, website: {type:
GraphQLStri
浏览 0
提问于2017-05-09
得票数 2
0
回答
为应用程序路径
创建
别名
。GIT bash
git
、
zend-framework
如
何为
app路径
创建
别名
,
如
:并与git bash一起使用: zf create project app
浏览 3
提问于2016-07-11
得票数 1
回答已采纳
1
回答
在定义中为类方法设置
别名
typescript
、
typescript-typings
我正在尝试为Mootools
创建
一个
类型
定义文件,即document.id('myid')的$('myid')
别名
。我为Document做了一个接口,它是 id(el: string): Element;} 在JQuery.d.ts $为JQuery对象设置
别名
时,如
何为
对象方法设置
别名
?
浏览 0
提问于2016-08-10
得票数 2
1
回答
如何用prisma 2
类型
键入GraphQLInputObjectType
graphql
、
prisma2
当我手动键入它们以进行
创建
、删除和其他类似的输入时,没有问题,但是prisma 2有一些非常复杂的过滤器,很难手动输入。这就是prisma 2的
类型
是什么 用于"where“属性的Prisma 2
类型
AND:
GraphQLString
}, lte: { type:
GraphQLString</
浏览 9
提问于2022-03-09
得票数 0
1
回答
将自定义
类型
的列表传递给GraphQL突变
javascript
、
node.js
、
mongoose
、
graphql
、
apollo
: GraphQLID }, email: { type:
GraphQLString
}}); firstName: { type:
GraphQLString
, default: '' }, // I'll figure
浏览 1
提问于2017-09-13
得票数 1
回答已采纳
点击加载更多
相关
资讯
基于 GraphQL 优化内网管理监控软件的数据查询接口
WP菜鸟建站13:wordpress后台怎样创建文章分类?
C+11使用using定义别名(替代typedef)
30 个方便的 Bash shell 别名
C语言typedef的用法详解
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券