intellij-generateAllSetMethod icon indicating copy to clipboard operation
intellij-generateAllSetMethod copied to clipboard

Support configuring type conversion

Open cinash opened this issue 7 years ago • 1 comments
trafficstars

The objects that we are mapping don't always have the same types of fields. For example, sometimes it's needed to perform type conversions:

  1. from UUID to String
  2. from Date/LocalDate to Long
  3. between enum types

Would be best if such mappings would be configurable either in project properties (settings) or using some configuration file (whatever is easier)

cinash avatar Aug 03 '18 08:08 cinash

so what about the field names, like from Date/LocalDate to Long, does they have the same field names? If they got same field names. i think this can be done automatically.

gejun123456 avatar Dec 10 '18 16:12 gejun123456