Session is the resolver for the session field.
(ctx context.Context, params *model.SessionQueryRequest)
| 199 | |
| 200 | // Session is the resolver for the session field. |
| 201 | func (r *queryResolver) Session(ctx context.Context, params *model.SessionQueryRequest) (*model.AuthResponse, error) { |
| 202 | return r.GraphQLProvider.Session(ctx, params) |
| 203 | } |
| 204 | |
| 205 | // Profile is the resolver for the profile field. |
| 206 | func (r *queryResolver) Profile(ctx context.Context) (*model.User, error) { |