[ 
https://issues.apache.org/jira/browse/S2GRAPH-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chul Kang updated S2GRAPH-192:
------------------------------
    Description: 
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.

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

{code}
 

  was:
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))
)
)))
}

```

 


> 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
>            Priority: Major
>
> 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.
>  
> {code:java}
> lazy val serviceColumnOnServiceInputObjectFields = repo.allServices.map { 
> service =>
>   InputField(service.serviceName, OptionInputType(InputObjectType(
>     s"Input_Column",
>     description = "desc here",
>     fields = List(
>       InputField("columnName", makeServiceColumnEnumTypeOnService(service))
>     )
>   )))
> }
> {code}
>  



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

Reply via email to