Skip to content

fix: bump http-server-csharp version to fix emitter-framework dependency constraint#11193

Draft
markcowl with Copilot wants to merge 2 commits into
mainfrom
copilot/hscs-fix-error-using-project-scaffolding
Draft

fix: bump http-server-csharp version to fix emitter-framework dependency constraint#11193
markcowl with Copilot wants to merge 2 commits into
mainfrom
copilot/hscs-fix-error-using-project-scaffolding

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Published @typespec/http-server-csharp@0.58.0-alpha.29 depends on @typespec/emitter-framework@^0.17.0. With 0.x semver, ^0.17.0 resolves to >=0.17.0 <0.18.0, but getDocComments was only added in emitter-framework@0.18.0 — so npm install never gets a version that has the export.

error js-error: The requested module '@typespec/emitter-framework/csharp' does not provide an export named 'getDocComments'
  • Bump http-server-csharp version to 0.58.0-alpha.30 so the next publish resolves workspace:^ against the current emitter-framework@0.18.0, producing ^0.18.0 in the published package.json

Copilot AI linked an issue Jul 7, 2026 that may be closed by this pull request
…ncy constraint

The published @typespec/http-server-csharp@0.58.0-alpha.29 depends on
@typespec/emitter-framework@^0.17.0, which for 0.x semver means
>=0.17.0 <0.18.0. However, getDocComments was only added in
emitter-framework 0.18.0, causing a runtime import error.

Bumping the version ensures a new publish will correctly resolve
workspace:^ to ^0.18.0 (the current emitter-framework version).

Closes #11192

Co-authored-by: markcowl <1054056+markcowl@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix error when using project scaffolding fix: bump http-server-csharp version to fix emitter-framework dependency constraint Jul 7, 2026
Copilot AI requested a review from markcowl July 7, 2026 19:44
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.

[hscs]: Error when using project scaffolding

2 participants