Skip to content

typekits - add $.type.resolve, $.value.resolve, and update $.resolve to support returning values #7167

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 7 commits into from
Apr 29, 2025

Conversation

chrisradek
Copy link
Member

The $.type.resolve and $.value.resolve versions of the typekits also support passing in a kind and will assert that the resolved type or value matches the passed in kind.

Note: $.resolve wasn't actually available in the previous release, so changing the return value to allow returning Value is not a breaking change.

Copy link
Contributor

github-actions bot commented Apr 29, 2025

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - feature ✏️

Adds $.value.resolve and $.type.resolve typekits, and updated $.resolve to return values or types, instead of just types

@azure-sdk
Copy link
Collaborator

azure-sdk commented Apr 29, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@chrisradek chrisradek added this pull request to the merge queue Apr 29, 2025
Merged via the queue into microsoft:main with commit 55835ce Apr 29, 2025
22 checks passed
@chrisradek chrisradek deleted the typekit-resolve-changes branch April 29, 2025 21:42
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.

3 participants