带有编码字符串的URL的WPGraphQL查询返回null
使用无头Wordpress,我无法通过uri查询帖子 id为53770的帖子可以查询以下代码带有编码字符串的URL的WPGraphQL查询返回null,graphql,wp-graphql,Graphql,Wp Graphql,使用无头Wordpress,我无法通过uri查询帖子 id为53770的帖子可以查询以下代码 postBy(postId: 53770) { id uri title } 它返回这个 "postBy": { "id": "cG9zdDo1Mzc3MA==", "uri": "localhost:3000/%e3%82%bf%e3%82%a4%
postBy(postId: 53770) {
id
uri
title
}
它返回这个
"postBy": {
"id": "cG9zdDo1Mzc3MA==",
"uri": "localhost:3000/%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab/",
"title": "タイトル"
},
但是,使用uri查询同一帖子将返回null
postBy(uri: "%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab") {
id
uri
title
}
如何使用编码字符按uri查询
"postBy": null