You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/27 05:15:00 UTC

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

    [ https://issues.apache.org/jira/browse/S2GRAPH-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593187#comment-16593187 ] 

ASF GitHub Bot commented on S2GRAPH-232:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-s2graph/pull/181


> 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
>            Assignee: Daewon Jeong
>            Priority: Minor
>
> 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)