Hello, community! How do i suggest or contribute any fixes (ideas?) to a Jmix plugin/studio? For example, when generating boilerplate code for entities:
- i want newlines to be added (Java static code analysis),
- furthermore, enumerations, used as entity fields fire up Java static code analysis it could be easily fixed by generating
this.severity = severity == null ? "" : severity.getId();
instead of
this.severity = severity == null ? null : severity.getId();
in setter (i.e public void setSeverity(final Severity severity)
in this case)
3. also, there is a final
that could be added to an every getter. it costs plugin nothing, but saves a couple of developer hours at the project start))
4. enum fields are created with @Column(name = "SEVERITY", nullable = false, length = 50)
which is a magical number. maybe some constant could be added to make that code more reliable.