Skip to content

Generate PlainDate as a Date instead of as a string#3675

Merged
v-jiaodi merged 11 commits intoAzure:mainfrom
v-jiaodi:fix-issue3672
Jan 29, 2026
Merged

Generate PlainDate as a Date instead of as a string#3675
v-jiaodi merged 11 commits intoAzure:mainfrom
v-jiaodi:fix-issue3672

Conversation

@v-jiaodi
Copy link
Copy Markdown
Member

@v-jiaodi v-jiaodi commented Jan 7, 2026

fixes #3672

@qiaozha qiaozha added the p0 priority 0 label Jan 7, 2026
Comment thread packages/typespec-ts/src/utils/modelUtils.ts Outdated
@qiaozha qiaozha assigned JialinHuang803 and unassigned MaryGao Jan 21, 2026
@v-jiaodi v-jiaodi marked this pull request as ready for review January 22, 2026 08:16
@qiaozha qiaozha added the HRLC label Jan 28, 2026
case "url":
// TODO - what typespec produces uri, password?
return "string";
case "plainDate":
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be moved to line 107 together with "utcDateTime"?

@v-jiaodi v-jiaodi merged commit 66f60a1 into Azure:main Jan 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HRLC p0 priority 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[migration tsp] PlainDate is generated as a string type instead of a date type

4 participants