[ https://issues.apache.org/jira/browse/S2GRAPH-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542597#comment-16542597 ]
ASF GitHub Bot commented on S2GRAPH-231: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/incubator-s2graph/pull/180 > 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 > Assignee: 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)