commercetools / commercetools/rmf-codegen
datetime and dateOnly types should be mapped to TypeScript Date
Open
- Dominant language
- Kotlin
- Stars
- 16
- Forks
- 7
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 3
Description
Our current TypeScript model generator maps the RAML types `datetime` and `dateonly`to `string`. Since the TypeScript `Date` type maps to the JavaScript `Date` and can be correctly parsed/stringified as JSON, we should use it in our TypeScript model generator.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.