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

Tracking Issue: TypeSpec decorator support #7

Open
17 of 29 tasks
tjprescott opened this issue Dec 8, 2023 · 0 comments
Open
17 of 29 tasks

Tracking Issue: TypeSpec decorator support #7

tjprescott opened this issue Dec 8, 2023 · 0 comments

Comments

@tjprescott
Copy link
Owner

tjprescott commented Dec 8, 2023

Support the following decorators from TypeSpec compiler:

N/A (Not Supported By Design)

  • overload: emitter doesn't support operations
  • friendlyName: use of this decorator not recommended by the TSP team
  • deprecated: use of this decorator not recommended by the TSP team
  • errorsDoc: emitter doesn't support operations
  • list: emitter doesn't support operations
  • parameterVisibility: emitter doesn't support operations
  • returnTypeVisibility: emitter doesn't support operations
  • returnsDoc: emitter doesn't support operations
  • tag: emitter doesn't support operations or interfaces

TODO

  • encode
  • error
  • format
  • inspectType
  • inspectTypeName
  • key
  • maxItems
  • minItems
  • projectedName
  • secret
  • service
  • summary

SUPPORTED

  • discriminator
  • doc
  • maxLength
  • maxValue
  • maxValueExclusive
  • minLength
  • minValue
  • minValueExclusive
  • pattern
  • visibility (only for "read" only visibility)
  • withOptionalProperties
  • withoutDefaultValues
  • withUpdateableProperties
  • withoutOmittedProperties
  • withVisibility
  • withDefaultKeyVisibility
  • knownValues
@tjprescott tjprescott changed the title Tracking Issue: decorator support Tracking Issue: TypeSpec decorator support Dec 13, 2023
@tjprescott tjprescott pinned this issue Dec 19, 2023
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

No branches or pull requests

1 participant