commercetools / commercetools/rmf-codegen

datetime and dateOnly types should be mapped to TypeScript Date

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.