This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Avoid adding parameters in the source code with default value #503
Labels
enhancement
New feature or request
Comments
duplicates of #558 |
Oh....thanks for pointing out, Aurelien. As this is a backend issue I wasn't checking in the UI issues. |
On the other hand, we have been requested to add those values explicitly... |
i think, we were asked to have them visible in the UI. Not to have them serialized |
Just making sure. Because this was not happening before, so this is a new implementation (I think) based on that feedback. |
relates to KaotoIO/kaoto-ui#1396 |
Delawen
changed the title
Avoid generating unnecessary code
Avoid adding parameters in the source code with default value
Mar 21, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
Step configuration parameters have sometimes default values which are also mentioned in the Camel Catalog. If you are dropping a timer component on the canvas and just change the name to
foo
it generates quite a lot of code which doesn't need to be there because its default values. (see screenshot)Describe the solution you'd like
Avoid generating code for default values of parameters. In the above example
uri: timer:foo
would have been enough.The text was updated successfully, but these errors were encountered: