-
Notifications
You must be signed in to change notification settings - Fork 350
typeref value #6322
Copy link
Copy link
Open
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core
Milestone
Description
One gap with the value world is if your options takes a reference to a type you cannot use an object value anymore and have to keep using model for configuration.
I could be nice to have a value that is a reference to a type. So you can have something like that
@client(#{
name: "MyClient",
service: typeref MyOrg.MyService
})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core