blue-veery-gmbh / spring-rest-2-ts

spring rest 2 ts is typescript generator which produces data model and services in typescript based on Spring MVC annotations. It supports generation for Angular and React
MIT License
64 stars 17 forks source link

Classes not imported on HashMap #14

Closed slobberbone closed 3 years ago

slobberbone commented 4 years ago

I have a field in a dto wich is a Map<String, ObjectDto>, the typeScript generator translate to {[key: string]: ObjectModel}; but ObjectModel is not imported.

tomasz-wozniak75 commented 4 years ago

Sorry for the late response, we will fixed it in the new version 1.2.6 on which we are working now. It should be released in 2-3 weeks

tomasz-wozniak75 commented 4 years ago

I reproduced Your issue & fixed, version 1.2.6 should be merged to master at the end of next week

tomasz-wozniak75 commented 3 years ago

fix has been released