Skip to content

"Unknown modifier: $pushAll" #17

Description

@metju90

When using mutating with addLyricToSong like the following query:

mutation {
  addLyricToSong(songId: "5b0d32945cc5987c7dac2170", content: "xxxx") {
    lyrics {
      content
      song {
        title
      }
    }
  }
}

you run in the following error:

{
  "data": {
    "addLyricToSong": null
  },
  "errors": [
    {
      "message": "Unknown modifier: $pushAll",
      "locations": [
        {
          "line": 45,
          "column": 3
        }
      ],
      "path": [
        "addLyricToSong"
      ]
    }
  ]
}

This problem is reported here: Automattic/mongoose#5574.

I will make a PR with the fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions