Documentation ¶
Overview ¶
Package interceptors is middleware to alter the graphql query
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInternalServerError is returned when an internal error occurs. ErrInternalServerError = errors.New("internal server error") )
Functions ¶
func InterceptorGroup ¶
func InterceptorGroup() ent.Interceptor
InterceptorGroup is middleware to change the Group query
func InterceptorOrganization ¶
func InterceptorOrganization() ent.Interceptor
InterceptorOrganization is middleware to change the Organization query
func QueryLogger ¶
func QueryLogger(l *zap.SugaredLogger) ent.InterceptFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.