readme add plugin describe
Hi. That sounds really awesome.
I would love to try this out, but I cannot use the plugin with my current version: IntelliJ IDEA Ultimate 2022.3.2
How easy or hard would it be to add support for this version?
The current latest version 1.1.3, maybe provide support, IntelliJ IDEs Plugin Marketplace is reviewing this update, you can download it from GitHub and give it a try.
I tried it out and it looks really cool.
Couple of notes:
- There are some mentiones of dart 'bean classes'?
- Why the
ensureInitialized()in the constructor?
- 'bean classes' are data classes in Java, and the concept has been borrowed from there.
- I found that when using generics, it is necessary to call
ensureInitialized()first. So, I call it in the constructor.
I wouldn't recommend generating the ensureInitialized in the constructor.
It only needs to be called once in you app and also only is needed when using a mapper implicitly eg. through a generic type. So putting it in the constructor may work in some specific cases, but I don't think this should be the default way classes are generated.
You are right. I have already planned to remove it in an upcoming update.