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

Store the uri template string and allow it to be fetched via a getter #2

Open
cottoncammy opened this issue Jan 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cottoncammy
Copy link

cottoncammy commented Jan 11, 2023

Describe the feature

Title explains it all ^^

Use cases

There are cases where the uri template isn't expanded right away, and the original template string needs to be accessed. My particular use case involves an API that rate limits requests based on its URI template, so I need to access the original string to properly handle rate limiting. For now, I am simply going to pass the string separately, but it makes sense that a URI template object would have some way to access its template.

Contribution

Willing to PR for this feature if required.

@cottoncammy cottoncammy added the enhancement New feature or request label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant