Skip to content

Comments

[hsjs] Ignore unfinished types in visitAllTypes.#6809

Merged
witemple-msft merged 3 commits intomicrosoft:mainfrom
witemple-msft:witemple-msft/hsjs-spector-compile-fix-1
Apr 1, 2025
Merged

[hsjs] Ignore unfinished types in visitAllTypes.#6809
witemple-msft merged 3 commits intomicrosoft:mainfrom
witemple-msft:witemple-msft/hsjs-spector-compile-fix-1

Conversation

@witemple-msft
Copy link
Member

  • Allows serialization of Intrinsic types.
  • Ignores unfinished types in visitAllTypes.

This enables six more spector tests to compile with hsjs.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2025

All changed packages have been documented.

  • @typespec/http-server-js
Show changes

@typespec/http-server-js - fix ✏️

Ignore unfinished types when visiting service namespace for completeness. This avoids crashes that result from encountering TemplateParameter instances.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@witemple-msft witemple-msft added this pull request to the merge queue Apr 1, 2025
Merged via the queue into microsoft:main with commit 35b05ff Apr 1, 2025
22 checks passed
@witemple-msft witemple-msft deleted the witemple-msft/hsjs-spector-compile-fix-1 branch April 1, 2025 18:30
mario-guerra pushed a commit that referenced this pull request Apr 2, 2025
- Allows serialization of Intrinsic types.
- Ignores unfinished types in visitAllTypes.

This enables six more spector tests to compile with hsjs.
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