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 mapper node set in model expression #4144

Merged

Conversation

timotheeguerin
Copy link
Member

fix #3935

@azure-sdk
Copy link
Collaborator

azure-sdk commented Aug 12, 2024

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - fix ✏️

Fix: Model and union expression in template were not considered as template instances

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@timotheeguerin timotheeguerin added this pull request to the merge queue Aug 12, 2024
Merged via the queue into microsoft:main with commit 712aa4f Aug 12, 2024
22 checks passed
@timotheeguerin timotheeguerin deleted the fix/mapper-model-expression branch August 12, 2024 22:45
github-merge-queue bot pushed a commit to Azure/typespec-azure that referenced this pull request Aug 15, 2024
…emplate (#1377)

After microsoft/typespec#4144, anonymous model
type may also have templateMapper arguments. For this scenario,
`getLibraryName` shall not try to generate name from arguments,
otherwise may generate model with duplicated name.
sarangan12 pushed a commit to sarangan12/typespec that referenced this pull request Sep 16, 2024
fix [microsoft#3935](microsoft#3935)

---------

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
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.

[Bug]: Objects in template cannot include template target type when used from a versioned namespace
3 participants