Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkRootResolvers ¶
func MkRootResolvers(dao *dao.DAO) middleware.GQLResolvers
MkRootResolvers makes an instance of middleware.GQLResolvers as a root entry of all the custom resolvers
Types ¶
type EnhancedUserResolver ¶
type EnhancedUserResolver struct { gen.FutureUserResolver // contains filtered or unexported fields }
func (EnhancedUserResolver) Friends ¶
func (r EnhancedUserResolver) Friends( ctx Context, start int64, pageSize int64) []gen.UserResolver
type RootMutationResolver ¶
type RootMutationResolver struct {
// contains filtered or unexported fields
}
func (*RootMutationResolver) UpdateUser ¶
func (r *RootMutationResolver) UpdateUser(ctx Context, id ID, userInput gen.UserInput) gen.UserResolver
func (*RootMutationResolver) UpdateUserName ¶
func (r *RootMutationResolver) UpdateUserName(ctx Context, id ID, name string) gen.UserResolver
type RootQueryResolver ¶
type RootQueryResolver struct {
// contains filtered or unexported fields
}
func (*RootQueryResolver) GetUser ¶
func (r *RootQueryResolver) GetUser(ctx Context, id ID) gen.UserResolver
func (*RootQueryResolver) GetUsers ¶
func (r *RootQueryResolver) GetUsers(ctx Context, start int64, pageSize int64) []gen.UserResolver
type StringOption ¶
type StringOption = graphql.StringOption
Click to show internal directories.
Click to hide internal directories.