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

Migrating existing decorator taking options to valueof #3317

Open
timotheeguerin opened this issue May 10, 2024 · 0 comments
Open

Migrating existing decorator taking options to valueof #3317

timotheeguerin opened this issue May 10, 2024 · 0 comments
Labels
compiler:core Issues for @typespec/compiler feature New feature or request lib:http lib:openapi triaged:core
Milestone

Comments

@timotheeguerin
Copy link
Member

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
@markcowl markcowl added this to the Backlog milestone May 13, 2024
@markcowl markcowl added compiler:core Issues for @typespec/compiler lib:http lib:openapi triaged:core feature New feature or request and removed needs-area triaged:core labels May 13, 2024
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 feature New feature or request lib:http lib:openapi triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants