summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/graphql/board_list_create.mutation.graphql
blob: 81cc7b4d246220ae10c7ea56d675bd44317d9c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import "./board_list.fragment.graphql"

mutation createBoardList($boardId: BoardID!, $backlog: Boolean, $labelId: LabelID) {
  boardListCreate(input: { boardId: $boardId, backlog: $backlog, labelId: $labelId }) {
    # We have ID in a deeply nested fragment
    # eslint-disable-next-line @graphql-eslint/require-id-when-available
    list {
      ...BoardListFragment
    }
    errors
  }
}