typespec
typespec copied to clipboard
Migrating existing decorator taking options to `valueof`
Now that we have the value world we can consider migrating decorators that were using models as input to object values.
This would emit a deprecation notice to the user with a quick fix. Decorators in this category:
Compiler:
-
@service
Http
-
@header
-
@query
OpenAPI
-
@extension
-
@info
Decorators that would need to take a breaking change
Json Schema
-
@extension