What I try:
type 产品 {
productID: ID!
名字: String @search(by: [term])
reviews: [Review] @hasInverse(field: about)
}
post the schema to “localhost:8080/admin/schema”.
And I got an error:
{
"errors": [
{
"message": "resolving updateGQLSchema failed because input:1: Expected Name, found <Invalid>\n (Locations: [{Line: 3, Column: 4}])",
"extensions": {
"code": "Error"
}
}
]
}
So, does graphql schema can use other language like chinese to name a type or predicate?