astefanutti commented on pull request #2831: URL: https://github.com/apache/camel-k/pull/2831#issuecomment-994648395
> Another smaller YAML DSL change we have in the works is this PR [apache/camel#6520](https://github.com/apache/camel/pull/6520) > > It aligns `route` and `from` so they work in the same way, that `steps` must only be set as child on `from`. Before you could put steps as child on `route` also. > > This only breaks if you have yaml routes where you start from `route` and have put `steps` as child there, instead of `from`. Awesome, that was also one of the discrepancies I noticed. 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? -- 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]
