aboutsummaryrefslogblamecommitdiffstats
path: root/graphql/connections/lazy_identity.go
blob: 34ba579a6fe9cb13c6fcf0249d83c60a0538ac2a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                       
package connections

// LazyIdentityEdge is a special relay edge used to implement a lazy loading connection
type LazyIdentityEdge struct {
	Id     string
	Cursor string
}

// GetCursor return the cursor of a LazyIdentityEdge
func (lbe LazyIdentityEdge) GetCursor() string {
	return lbe.Cursor
}