Skip to content

Conversation

RodgeFu
Copy link
Contributor

@RodgeFu RodgeFu commented Sep 10, 2025

Support encode when generating csharp property in emitter framework

Copy link

pkg-pr-new bot commented Sep 10, 2025

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/emitter-framework@8415

commit: 03f6eea

Copy link
Contributor

github-actions bot commented Sep 10, 2025

All changed packages have been documented.

  • @typespec/emitter-framework
Show changes

@typespec/emitter-framework - feature ✏️

[c#] Support encode when generating csharp property

@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 10, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

"cross-spawn@>=7.0.0 <7.0.5": "^7.0.5"
rollup: 4.49.0 # Regression in 4.50.0 https://github.com/rollup/rollup/issues/6099
"@alloy-js/core": 0.21.0-dev.8
"@alloy-js/csharp": 0.21.0-dev.19
Copy link
Contributor Author

@RodgeFu RodgeFu Sep 18, 2025

Choose a reason for hiding this comment

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

How can I upgrade to use dev alloy-js libraries in this repo? I tried to upgrade all the packages including alloy-js/core and alloy-js/csharp to the dev version but the build would still fail complaining about conflictions with alloy-js/[email protected] which i guess is because other alloy libs are at 0.20.0 version. Then I change to add the override here which fixes the build, but the typespec-azure in pipeline would still complain because it's still at 0.20.0...

Copy link
Member

Choose a reason for hiding this comment

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

we try not to switch to dev version in main, what we can do is create a feature branch with any pending things and use the pr link until alloy is upgraded

Copy link
Member

Choose a reason for hiding this comment

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

otherwise if we were to release typespec without alloy first it would break every user of the emitter framework

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.

4 participants