You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "Chul Kang (JIRA)" <ji...@apache.org> on 2018/03/29 10:35:00 UTC

[jira] [Created] (S2GRAPH-192) could not find service column when creating the label

Chul Kang created S2GRAPH-192:
---------------------------------

             Summary: could not find service column when creating the label 
                 Key: S2GRAPH-192
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-192
             Project: S2Graph
          Issue Type: Bug
            Reporter: Chul Kang


When using multiple services, graphql could not find the serviceColumn of that label when creating the label.

The code below shows that all labels have the same service column because the InputObjectTypes have the same name without service identification.

```

lazy val serviceColumnOnServiceInputObjectFields = repo.allServices.map { service =>
InputField(service.serviceName, OptionInputType(InputObjectType(
s"Input_Column",
description = "desc here",
fields = List(
InputField("columnName", makeServiceColumnEnumTypeOnService(service))
)
)))
}

```

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)