Skip to content

Mutation Array #1340

Description

@s3ppo

when i use the new mutation to stop the array with:

mutation SetState($input: ArrayStateInput) {
  array {
    setState(input: $input) {
      state
    }
  }
}

{
  "input": {
    "desiredState": "STOP"
  },
}

its working the array gets stopped :)
but the response still shows the wrong status:

{
  "data": {
    "array": {
      "setState": {
        "state": "STARTED"
      }
    }
  }
}

and if i want to start it with the same command but with "START" i always get this response:

{
  "errors": [
    {
      "message": "The array is already STARTED",
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ],
      "path": [
        "array",
        "setState"
      ],
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR"
      }
    }
  ],
  "data": {
    "array": {
      "setState": null
    }
  }
}

this seems to be wrong because the array is definitivly stopped

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions