astefanutti opened a new pull request #1600: URL: https://github.com/apache/camel-k/pull/1600
This PR enables structured traits configuration, relying on traits struct for JSON serialization. It also moves the Kamel CLI trait option mapping logic on the client-side, which will enable more advanced validation by leveraging the trait option types. Note that it removes the intermediate `Configuration` field from the `v1.TraitSpec` struct. I fail to see the benefit of having that intermediate field. However this raises the question of backward compatibility, that we may want to address by introducing a new API version. Fixes #1593. Fixes #395. **Release Note** ```release-note feat: Structured traits configuration serialization ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org