【发布时间】:2019-02-15 08:15:50
【问题描述】:
您可以使用 GraphQL Schema 语言在 GraphQL Schema 中使用数字作为键吗?即(这是一个小sn-p...)
type tax_code_allocation_country_KOR_states {
"11": tax_code_allocation_state_tax_query
"26": tax_code_allocation_state_tax_query
"27": tax_code_allocation_state_tax_query
}
或以下,我意识到这是不正确的 JSON:
type tax_code_allocation_country_KOR_states {
11: tax_code_allocation_state_tax_query
26: tax_code_allocation_state_tax_query
27: tax_code_allocation_state_tax_query
}
【问题讨论】:
标签: graphql apollo-server