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

Daewon Jeong updated S2GRAPH-231:
---------------------------------
    Issue Type: Improvement  (was: Task)

> Change the GraphQL type name to a valid string.
> -----------------------------------------------
>
>                 Key: S2GRAPH-231
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-231
>             Project: S2Graph
>          Issue Type: Improvement
>          Components: s2graphql
>            Reporter: Daewon Jeong
>            Priority: Minor
>
> Below is a regular expression for valid strings in GraphQL.
> {code:scala}
> val validateRegEx = "/^[_a-zA-Z][_a-zA-Z0-9]*$/.".r
> {code}
> ex) invalid type name
>   1. '-label' : hyphen
>   2. '100k' : starts with numeric
>   3. 'one-more' : hyphen
> Label, service, serviceColumn, etc. created before S2Graph supports GraphQL 
> do not follow the regular expression rule.
> Provides the ability to convert an invalid name to a valid name for backwards 
> compatibility.



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

Reply via email to