Daewon Jeong created S2GRAPH-231:

             Summary: 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: Task
          Components: s2graphql
            Reporter: Daewon Jeong

Below is a regular expression for valid strings in GraphQL.

val validateRegEx = "/^[_a-zA-Z][_a-zA-Z0-9]*$/.".r

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 

This message was sent by Atlassian JIRA

Reply via email to