temporalio / graphql-proxy

GraphQL API for Temporal Server
MIT License
3 stars 1 forks source link

[Bug] unknown service temporal.api.operatorservice.v1.OperatorService #18

Closed lorensr closed 2 years ago

lorensr commented 2 years ago

When sending this query:

{
  listSearchAttributes {
    customAttributes {
      key
      value
    }
    systemAttributes {
      key
      value
    }
    storageSchema {
      key
      value
    }
  }
}  

I get back:

  "errors": [
    {
      "message": "Exception while fetching data (/listSearchAttributes) : UNIMPLEMENTED: unknown service temporal.api.operatorservice.v1.OperatorService",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "listSearchAttributes"
      ],
      "extensions": {
        "classification": "DataFetchingException"
      }
    }
  ],
lorensr commented 2 years ago

Solution

OperatorService won't be introduced till v1.16 of the Server. Change this line:

https://github.com/temporalio/docker-compose/blob/main/docker-compose.yml#L43

to

    image: temporaliotest/auto-setup:latest