How to use Dekorate outside of production code ? #1036
Replies: 5 comments 3 replies
-
You can annotate any class. |
Beta Was this translation helpful? Give feedback.
-
Are there any examples of this? |
Beta Was this translation helpful? Give feedback.
-
Hi @aureamunoz , |
Beta Was this translation helpful? Give feedback.
-
Ok so what I am looking to be able to express is have a multi-module project one with main production code and another module to drive the generation of k8s deployment yml's because for me deployment to kubernets does not belong in the main production code and to and dekorate annotions there is a nice to have not necessarily something one would desire to do. |
Beta Was this translation helpful? Give feedback.
-
So I like the idea of Dekorate, but honestly don't like the idea of having production code cluttered with Dekorate annotation, but also would not like to do this via a properties file as I would like to have a type safe API. |
Beta Was this translation helpful? Give feedback.
-
As a Java developer I found the the approach dekorate that attractive, but I would like to know if there is away to use Dekorate that we don't add the annotations directly in our production code, but into some other class or aspect that it is concerned with deployment of the application.
It does not looks clean to added deploy to kubernetes as concern into our production code.
Beta Was this translation helpful? Give feedback.
All reactions