Codex Assistant
22 小时以前 915d80766dd8e0157e9b9510b3634ed758eb5c5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# GraphQL Schema 定义
 
# 自定义标量类型
scalar Long
 
# 查询根类型
type Query {
    # 测试查询
    hello: String
    
    # 应用配置查询
    appConfig: AppConfig
}
 
# 应用配置类型
type AppConfig {
    mediaBaseUrl: String!
}
 
# 变更根类型  
type Mutation {
    # 测试变更
    echo(message: String!): String
}
 
# 订阅根类型
type Subscription {
    # 测试订阅
    messageAdded: String
}