개발자/오류

[GraphQL] { "error": { "errors": [ { "message": "Field \"fetchBoards\" of type \"[Board!]!\" must have a selection of subfields. Did you mean \"fetchBoards { ... }\"?",

YoungDogg 2022. 2. 10. 08:04

{
  "error": {
    "errors": [
      {
        "message": "Field \"fetchBoards\" of type \"[Board!]!\" must have a selection of subfields. Did you mean \"fetchBoards { ... }\"?",


내가 Playground에서 입력한 코드


subfield를 빠뜨려서 생긴 에러이다.


Subfield를 입력하니 잘 된다.