2

例: http://localhost:1337/graphql?query= {users(id:1){id}} 予想:

{
  "data": {
    "users": [
      {
        "id": "1"
      }
    ]
  }
}

実際:

{
  "errors": [
    {
      "message": "Unknown argument \"id\" on field \"users\" of type \"Schema\".",
      "locations": [
        {
          "line": 1,
          "column": 8
        }
      ]
    }
  ]
}
4

2 に答える 2