diff options
Diffstat (limited to 'graphql/connections/lazy_bug.go')
-rw-r--r-- | graphql/connections/lazy_bug.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphql/connections/lazy_bug.go b/graphql/connections/lazy_bug.go index 35dcb687..24eda0b6 100644 --- a/graphql/connections/lazy_bug.go +++ b/graphql/connections/lazy_bug.go @@ -1,10 +1,12 @@ package connections +// LazyBugEdge is a special relay edge used to implement a lazy loading connection type LazyBugEdge struct { Id string Cursor string } +// GetCursor return the cursor of a LazyBugEdge func (lbe LazyBugEdge) GetCursor() string { return lbe.Cursor } |