-
Task
-
Resolution: Done
-
Major
-
None
-
5
-
False
-
False
-
Undefined
-
-
2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21)
Models in processes have code-generated fromModel/toModel/update methods. These allow non-reflective conversion to maps; however
1) conversion to Map is an implementation detail and it should not be exposed in the public API
2) scaffolding the generated Model would open editing to end-users, which would have to maintain such methods manually
at the beginning the decision to generated these methods was taken to avoid reflection completely; however, because reflection is being extensively used in other parts of the platform, it feels redundant to avoid doing it here.
So, let's use reflection here as well, and let's just declare the model as "reflection-enabled" through the Quarkus extension.
- blocks
-
KOGITO-5081 Allow reflection in codegen
- Closed