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

[Cadl RLC] Fix the baseUrl is undefined issue when there is no @service defined #1680

Closed
Tracked by #1654
MaryGao opened this issue Dec 1, 2022 · 0 comments · Fixed by #1700
Closed
Tracked by #1654

[Cadl RLC] Fix the baseUrl is undefined issue when there is no @service defined #1680

MaryGao opened this issue Dec 1, 2022 · 0 comments · Fixed by #1700
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. DPG/RLC v2.0 GA Epic: Packaging https://github.com/Azure/cadl-azure/issues/1947 RLC WS: Code Generation

Comments

@MaryGao
Copy link
Member

MaryGao commented Dec 1, 2022

Fix the baseUrl is undefined issue when there is no @service defined

const baseUrl = options.baseUrl ?? "undefined";
@MaryGao MaryGao changed the title How to handle when baseUrl is undefined [Cadl RLC] Fix the baseUrl is undefined issue when there is no @service defined Dec 1, 2022
@MaryGao MaryGao added Client This issue points to a problem in the data-plane of the library. RLC DPG/RLC v2.0 GA WS: Code Generation Epic: Packaging https://github.com/Azure/cadl-azure/issues/1947 labels Dec 1, 2022
@MaryGao MaryGao assigned MaryGao and unassigned MaryGao Dec 5, 2022
@MaryGao MaryGao mentioned this issue Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. DPG/RLC v2.0 GA Epic: Packaging https://github.com/Azure/cadl-azure/issues/1947 RLC WS: Code Generation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants