You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now for below TSP definition, TCGC will add an client endpoint with server url set to {endpoint} which means the endpoint is overridable. But currently we did a workaroud for this case to just remove the TCGC added {endpoint}. So it is not overridable. We should support in generated SDK to make it overridable.
haolingdong-msft
changed the title
Support multiple server url defined for one client
tsp, support multiple server url defined for one client
Aug 13, 2024
Full support for multiple server in TypeSpec be a more complicated problem.
haolingdong-msft
changed the title
tsp, support multiple server url defined for one client
tsp, support TCGC added endpoint together with user defined endpoint for one client
Aug 14, 2024
Linik #2861 (comment)
Now for below TSP definition, TCGC will add an client endpoint with server url set to
{endpoint}
which means the endpoint is overridable. But currently we did a workaroud for this case to just remove the TCGC added{endpoint}
. So it is not overridable. We should support in generated SDK to make it overridable.More detailed design will be added later.
A more complex case can be below:
There could be multiple
@server
to define different endpoint url. tsp definition is like below:Multiple server url defined for one client. This may need a seperate issue.
The text was updated successfully, but these errors were encountered: