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

Add DurationKnownEncoding.milliseconds #6154

Open
3 tasks done
tg-msft opened this issue Feb 26, 2025 · 0 comments
Open
3 tasks done

Add DurationKnownEncoding.milliseconds #6154

tg-msft opened this issue Feb 26, 2025 · 0 comments
Labels
compiler:core Issues for @typespec/compiler feature New feature or request triaged:core
Milestone

Comments

@tg-msft
Copy link
Member

tg-msft commented Feb 26, 2025

Clear and concise description of the problem

We have teams in Azure that want to specify durations in milliseconds but can't use duration because https://typespec.io/docs/standard-library/reference/js-api/type-aliases/durationknownencoding/ only supports ISO8601 and seconds.

Checklist

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@markcowl markcowl added feature New feature or request compiler:core Issues for @typespec/compiler labels Feb 26, 2025
@markcowl markcowl added this to the Backlog milestone Feb 26, 2025
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 triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants