Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-231

Change the GraphQL type name to a valid string.

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: s2graphql
    • Labels:
      None

      Description

      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 compatibility.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daewon Daewon Jeong
                Reporter:
                daewon Daewon Jeong
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: