fix(typescript-generator)!: handle 'date' and 'date-time' for 'string'…#2192
fix(typescript-generator)!: handle 'date' and 'date-time' for 'string'…#2192roman-supy-io wants to merge 8 commits intoasyncapi:nextfrom
Conversation
✅ Deploy Preview for modelina canceled.
|
|
@roman-supy-io remember to update all the test etc |
jonaslagoni
left a comment
There was a problem hiding this comment.
Besides updating snapshots can you add two test to
?You can use the Java tests as guideline: https://github.com/asyncapi/modelina/blob/master/test/generators/java/JavaConstrainer.spec.ts#L329
|
@jonaslagoni tests updated |
|
@roman-supy-io did you run |
|
@jonaslagoni all fixed |
|
@roman-supy-io which docker image specifically are you referring to? |
|
Regardless, because this is a breaking change, I dont think any automatic updates will happen. |
|
@jonaslagoni right now we're using https://hub.docker.com/r/asyncapi/cli on our CI to generate Typescript contracts UPD: oh, ok, so when can we expect this to be released? |
|
@roman-supy-io you can read more about it here: https://github.com/asyncapi/modelina?tab=readme-ov-file#versioning-and-maintenance Alternatively you can add a flag specifying an enum of types for date formats 🤔 i.e. |
|


… data type
Description
Date type was not properly handled and resulted into string generated type output
This fixes the issue
Related Issue
Checklist
npm run lint).npm run test).Additional Notes