(ctx context.Context)
| 19 | } |
| 20 | |
| 21 | func extractName(ctx context.Context) (string, error) { |
| 22 | accessJwt, err := x.ExtractJwt(ctx) |
| 23 | if err != nil { |
| 24 | return "", err |
| 25 | } |
| 26 | |
| 27 | return x.ExtractUserName(accessJwt) |
| 28 | } |
| 29 | |
| 30 | func (gsr *currentUserResolver) Rewrite(ctx context.Context, |
| 31 | gqlQuery schema.Query) ([]*dql.GraphQuery, map[string]string, error) { |
no test coverage detected