Documentation ¶
Index ¶
- func CheckOwnerConstraint(ctx context.Context, realOwnerIDHex string) error
- func GetUserFromContext(ctx context.Context) (*model2.DBUser, error)
- func GetUserIDFromContext(ctx context.Context) (*primitive.ObjectID, error)
- func PerformListMaintainerCheck(listIdHex string, userIdHex string) error
- func ResolveComments(comments []*model2.DBComment, first *int, after *string) (*model.CommentConnection, error)
- type Resolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOwnerConstraint ¶
func GetUserIDFromContext ¶
func ResolveComments ¶
Types ¶
type Resolver ¶
type Resolver struct{}
func (*Resolver) Comment ¶
func (r *Resolver) Comment() generated.CommentResolver
Comment returns generated.CommentResolver implementation.
func (*Resolver) Entry ¶
func (r *Resolver) Entry() generated.EntryResolver
Entry returns generated.EntryResolver implementation.
func (*Resolver) List ¶
func (r *Resolver) List() generated.ListResolver
List returns generated.ListResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
Click to show internal directories.
Click to hide internal directories.