Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: name auth routers #1278

Merged
merged 1 commit into from
Apr 9, 2024
Merged

fix: name auth routers #1278

merged 1 commit into from
Apr 9, 2024

Conversation

timotheeg
Copy link
Contributor

@timotheeg timotheeg commented Apr 8, 2024

Problem

The Auth middlewares are not named correctly:

Example trace:
image

Trace link for reference

Solution

Use the method namer introduced in this PR

@timotheeg timotheeg requested a review from a team April 8, 2024 08:53
Copy link
Contributor

@seaerchin seaerchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; i checked this by just going into the v2 routers and searching for arrow functions, which don't have a this binding (and hence, no name).

i think v2/authenticated/metrics.ts was missing this but there's only 1 method, collateUserFeedback so maybe we just want to change it to a named function and merge it

@timotheeg timotheeg merged commit 8494f90 into develop Apr 9, 2024
19 checks passed
@mergify mergify bot deleted the fix_anonymous_router branch April 9, 2024 02:31
@harishv7 harishv7 mentioned this pull request Apr 11, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants