astefanutti commented on pull request #2831:
URL: https://github.com/apache/camel-k/pull/2831#issuecomment-994668310


   > > I also understand this relates to the "polymorphism" issue. Correct me 
if I'm wrong, it seems it's not possible to use `steps` with the string variant 
of `from`. It may be a bit bold, but could removing the string variants be a 
solution to solve the "polymorphism" issue for CRD schemas?
   > 
   > I assume this is the same word for what I called _inlined_.
   
   Exactly. Polymorphism is implemented with `oneOf`, to have both the 
_inlined_ and _structured_ variants.
   
   > I am starting to lean towards making the YAML DSL consistent and remove 
the _inlined_. It breaks backwards compatability, but for kamelets we can 
always update and do a new release.
   > 
   > So its more about plain Camel K and our existing examples, docs where we 
need to update.
   > 
   > The Karavan tooling also hit this problem with the _inlined_ as a "big 
pain".
   
   Yes, that would be the ideal solution to solve issue <span>#</span>2 and 
#2229 ultimately.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to