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

Provides a way to query data with the value of the Vertex property in a GraphQL query.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Minor
    • Resolution: Done
    • None
    • None
    • s2core, s2graphql
    • None

    Description

      Provides a way to query data with the value of the Vertex property in a GraphQL query.

      Now implementations in GraphQL need to know the starting Vertex ID to be able to query.

       

      Suppose have the following user.

      User {
        id: "daewon"
        age: 35
      }
      

       

      The query that fetch a friends of user 'daewon' is shown below. It works well.

        User(id: "daewon") { 
          friends { 
            id 
          } 
        }
      

       

      This time, let's consider a query that fetch a friends who is older than 30 years old.

      Below is the expected query.

      Kakao {
        User(search: "age > 30") {
          id
          name
          friends {
            User {
              id
              name
            }
          }
        }
      }
      

      However, this feature is not available at this time.

       

      Things to implement

      • Must be able to use the properties of 'User' ServiceColumn as a parameter in 'search'
      • Should be able to find vertices that match the properties defined in the above parameters(search).

       

      Associated issues that must be preceded and handled

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: