[Bug]: could not use uri template in server endpoint
Describe the bug
not able to allow reserved encoding for param in endpoint
Reproduction
Checklist
- [X] Follow our Code of Conduct
- [X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.
for server we had established that using url was ok to not encode but I do agree that we need to find a way to migrate the server url to uriTemplate.
Do you have use case apart from teh base url?
the other thing that uriTemplate can help a lot is providing a template on how to build url for the service. kinda related to @server but just a more flexible function like
"{+endpoint}/v2/{+route}?alwayshere=true"
for server we had established that using
urlwas ok to not encode but I do agree that we need to find a way to migrate the server url to uriTemplate.Do you have use case apart from teh base url?
i don't have a real case, just find the problem when add uri template support in tcgc. i believe it's better to keep consistent, but not so high priority.