Skip to content

Allow passing values parameters #7137

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

Merged
merged 8 commits into from
May 7, 2025
Merged

Conversation

timotheeguerin
Copy link
Member

fix #7118 (Cannot use template parameter in object/array value)
also fix #5905 (Cannot use template parameter in property default)

@microsoft-github-policy-service microsoft-github-policy-service bot added the compiler:core Issues for @typespec/compiler label Apr 25, 2025
Copy link
Contributor

github-actions bot commented Apr 25, 2025

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - feature ✏️

Allow passing template parameters as property defaults

@typespec/compiler - fix ✏️

Allow passing tempalate parameter values in object and array values used inside the template

@azure-sdk
Copy link
Collaborator

azure-sdk commented Apr 25, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin timotheeguerin added this pull request to the merge queue May 7, 2025
Merged via the queue into main with commit fc61077 May 7, 2025
22 checks passed
@timotheeguerin timotheeguerin deleted the tenative-fix-template-values branch May 7, 2025 23:20
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
3 participants