aboutsummaryrefslogblamecommitdiffstats
path: root/graphql/connections/lazy_bug.go
blob: 24eda0b6d7ca35a2cc62ed6db788e1d8eb142b63 (plain) (tree)
1
2
3
4
5
6
7
8
9

                   
                                                                                  




                         
                                               


                                           
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
}