Graphql 内容维度类型与Hasura不兼容
当使用contentful作为远程模式时,目前无法向Graphql 内容维度类型与Hasura不兼容,graphql,schema,contentful,hasura,Graphql,Schema,Contentful,Hasura,当使用contentful作为远程模式时,目前无法向维度类型的图像转换选项提供宽度和高度 Dimension类型将维度表示为介于1和4000之间的整个数值 如果提供了数字值,则会出现以下错误: { "errors": [ { "extensions": { "path": "...", "code": "parse-failed&q
维度类型的图像转换选项提供宽度
和高度
Dimension类型将维度表示为介于1和4000之间的整个数值
如果提供了数字值,则会出现以下错误:
{
"errors": [
{
"extensions": {
"path": "...",
"code": "parse-failed"
},
"message": "A string is expected for type: Dimension"
}
]
}
{
"message": "Expected type Dimension, found \"600\"; Dimension cannot represent non-integer value.",
"locations": [
{
"line": 1,
"column": 567
}
]
}
如果提供了字符串,则会出现以下错误:
{
"errors": [
{
"extensions": {
"path": "...",
"code": "parse-failed"
},
"message": "A string is expected for type: Dimension"
}
]
}
{
"message": "Expected type Dimension, found \"600\"; Dimension cannot represent non-integer value.",
"locations": [
{
"line": 1,
"column": 567
}
]
}
有解决办法吗