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

Fix: StringTemplate type not supported in typespecValueToJson #5937

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Feb 10, 2025

This should work as long as the template has a string representation.

fix #5391

@azure-sdk
Copy link
Collaborator

azure-sdk commented Feb 10, 2025

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - fix ✏️

Fix: StringTemplate type not supported in typespecValueToJson

@azure-sdk
Copy link
Collaborator

azure-sdk commented Feb 10, 2025

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs 🛝 VSCode Extension

@timotheeguerin timotheeguerin added this pull request to the merge queue Feb 19, 2025
Merged via the queue into microsoft:main with commit e537b39 Feb 19, 2025
24 checks passed
@timotheeguerin timotheeguerin deleted the fix/handle-typeof-string-template-json branch February 19, 2025 21:31
archerzz pushed a commit to archerzz/typespec that referenced this pull request Feb 21, 2025
…oft#5937)

This should work as long as the template has a string representation.

fix [microsoft#5391](microsoft#5391)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:core Issues for @typespec/compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler infinite loop with instantiation of templated string
4 participants