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

Allow specifying PathView class #602

Open
AngellusMortis opened this issue Nov 1, 2022 · 1 comment
Open

Allow specifying PathView class #602

AngellusMortis opened this issue Nov 1, 2022 · 1 comment

Comments

@AngellusMortis
Copy link

Is your feature request related to a problem? Please describe.

No.

Describe the solution you'd like

There are cases where it would be nice to be able to override the PathView class. So it would be nice if you could pass the class to use into the Router without needing to override it as well.

My specific use case is for New Relic monitoring (which I would probably consider out of scope of this library). New Relic is not detecting the name of the API operation correctly so I need to add a set_transaction_name call inside of PathView to fix it.

image

@bqumsiyeh
Copy link

bqumsiyeh commented Sep 8, 2023

I found a workaround for getting it to display the function name properly in NewRelic, see #428 (comment)

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

No branches or pull requests

2 participants