You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "Daewon Jeong (JIRA)" <ji...@apache.org> on 2018/07/06 09:24:00 UTC

[jira] [Created] (S2GRAPH-232) Elimination of inefficiency due to duplication in GraphQL schema generation.

Daewon Jeong created S2GRAPH-232:
------------------------------------

             Summary: Elimination of inefficiency due to duplication in GraphQL schema generation.
                 Key: S2GRAPH-232
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-232
             Project: S2Graph
          Issue Type: Improvement
          Components: s2graphql
            Reporter: Daewon Jeong


Elimination of inefficiency due to duplication in GraphQL Schema generation.

Generates Schema for GraphQL based on S2Graph Model information when executing GraphQL server.

Now,

1. Based on each Service
2. Create a Object type for the associated ServiceColumn
3. Find the Label that holds the ServiceColumn as the Source and create the Label Object type.
4. The Label object Type is generated from the Source ServiceColumn, and because it has the Target ServiceColumn, it returns to the second operation based on that ServiceColumn.


In the above four steps, the tasks 2 to 4 may overlap.
Therefore, Graphql Schema generation is slowed down by unnecessary Schema generation.

Eliminate unnecessary duplication to lighten the schema.



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