benthosdev / benthos-lab

A web app for writing, executing and sharing Benthos pipeline configurations
https://lab.benthos.dev
MIT License
47 stars 8 forks source link

labs "add XXX" feature adds deprecated components #21

Open rcyrus opened 3 years ago

rcyrus commented 3 years ago

I was experimenting with some configurations and wanted to use labs as a sort of sanity checker.

I noticed that if i select certain components from the "add XXX" too will populate deprecated components in the generated config.

For example:

Add Condition -> Metadata will populate a filter_parts component which is deprecated

This appears on lab.benthos.dev and in the docker build

I did not do a thorough search of components, stopped at the one.

Jeffail commented 3 years ago

Hey @rcyrus, yeah this is annoying. I can probably update this to always exclude deprecated fields on normalize.