Skip to content

Conversation

@v-jiaodi
Copy link
Member

related pr Azure/autorest.typescript#3369

Update doc because the dpg modular has already been set as the default

@MaryGao MaryGao marked this pull request as ready for review November 24, 2025 05:24
@MaryGao MaryGao requested review from a team and jeremymeng as code owners November 24, 2025 05:24
Copilot AI review requested due to automatic review settings November 24, 2025 05:24
@MaryGao MaryGao merged commit a636645 into Azure:main Nov 24, 2025
20 checks passed
Copilot finished reviewing on behalf of MaryGao November 24, 2025 05:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation to reflect that modular library generation (is-modular-library: true) is now the default behavior in the TypeSpec TypeScript emitter, following the changes made in Azure/autorest.typescript#3369.

Key Changes:

  • Updated documentation to clarify that is-modular-library defaults to true
  • Removed redundant is-modular-library: true from DPG (modular) quickstart examples
  • Added explicit is-modular-library: false to RLC quickstart examples to opt out of the default

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
documentation/RLC-quickstart.md Added is-modular-library: false to the tspconfig.yaml example to explicitly opt into RLC generation since modular is now the default
documentation/Generate-code-from-TypeSpec.md Updated the explanation to reflect that is-modular-library is now true by default, and users must explicitly set it to false for RLC libraries
documentation/DPG-quickstart.md Removed the now-redundant is-modular-library: true configuration since it's the default value

```
in your tspconfig.yaml. `is-modular-library` should be set to true unless you have been explicitly instructed by the Azure SDK Architecture Board to proceed with RLC code generation.
Please make sure `service-dir`, `emitter-output-dir`, `package-details`, `flavor`(for typespec-ts) is correctly configured. `experimental-extensible-enums` is the optional config.The `is-modular-library` option is true by default, if you want to generate RLC libraries for data-plane SDKs, you must add `is-modular-library: false` in your tspconfig.yaml.
Copy link

Copilot AI Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after period. There should be a space between sentences for better readability.

Suggested change
Please make sure `service-dir`, `emitter-output-dir`, `package-details`, `flavor`(for typespec-ts) is correctly configured. `experimental-extensible-enums` is the optional config.The `is-modular-library` option is true by default, if you want to generate RLC libraries for data-plane SDKs, you must add `is-modular-library: false` in your tspconfig.yaml.
Please make sure `service-dir`, `emitter-output-dir`, `package-details`, `flavor`(for typespec-ts) is correctly configured. `experimental-extensible-enums` is the optional config. The `is-modular-library` option is true by default, if you want to generate RLC libraries for data-plane SDKs, you must add `is-modular-library: false` in your tspconfig.yaml.

Copilot uses AI. Check for mistakes.
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

Successfully merging this pull request may close these issues.

2 participants