microsoft / microsoft/typespec

Consider adding DurationKnownEncoding.minutes

Open
#8,690 2 comments 1 reaction 1 assignee Claimed by @witemple-msft View on GitHub
compiler:core design:accepted design:needed triaged:core
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

This comes up in the Planetary Computer API. minutes seems more unusual than milliseconds/seconds, but the Azure docs specifically call it out as a valid example - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#json-durations-use-fixed-time-intervals

Related https://github.com/microsoft/typespec/issues/6154

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.