diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-29 20:58:22 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-29 20:58:22 +0200 |
commit | c58aa18a2d0683b0a1e6f0597724e67b500503a0 (patch) | |
tree | 06b7611ebce2a4cbe0c99f72729517cb8114e3f1 /graphql/connections/connections.go | |
parent | 08f03ecf3cbbc350585acf0492966681ec449a94 (diff) | |
download | git-bug-c58aa18a2d0683b0a1e6f0597724e67b500503a0.tar.gz git-bug-c58aa18a2d0683b0a1e6f0597724e67b500503a0.zip |
graphql: lazy loading for the bug relay connection
Diffstat (limited to 'graphql/connections/connections.go')
-rw-r--r-- | graphql/connections/connections.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/connections/connections.go b/graphql/connections/connections.go index 145bfbbe..84dc3750 100644 --- a/graphql/connections/connections.go +++ b/graphql/connections/connections.go @@ -1,4 +1,4 @@ -//go:generate genny -in=connection_template.go -out=gen_bug.go gen "NodeType=bug.Snapshot EdgeType=models.BugEdge ConnectionType=models.BugConnection" +//go:generate genny -in=connection_template.go -out=gen_bug.go gen "NodeType=string EdgeType=LazyBugEdge ConnectionType=models.BugConnection" //go:generate genny -in=connection_template.go -out=gen_operation.go gen "NodeType=bug.Operation EdgeType=models.OperationEdge ConnectionType=models.OperationConnection" //go:generate genny -in=connection_template.go -out=gen_comment.go gen "NodeType=bug.Comment EdgeType=models.CommentEdge ConnectionType=models.CommentConnection" |