Documentation
¶
Overview ¶
Package relay implements common relay GraphQL query resovlers required by the GraphQL transport layer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPageInfoResolver ¶
func NewPageInfoResolver( startCursor *string, endCursor *string, hasNextPage bool, hasPreviousPage bool) (relay.PageInfoResolverContract, error)
NewPageInfoResolver creates new instance of the pageInfoResolver, setting up all dependencies and returns the instance startCursor: Mandatory. Reference to the start cursor endCursor: Mandatory. Reference to the end cursor hasNextPage: Mandatory. Reference to the value indicates whether returned page has next page to be retrieved hasPreviousPage: Mandatory. Reference to the value indicates whether returned page has previous page to be retrieved Returns the new instance or error if something goes wrong
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.