benthos-lab icon indicating copy to clipboard operation
benthos-lab copied to clipboard

labs "add XXX" feature adds deprecated components

Open rcyrus opened this issue 5 years ago • 1 comments

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.

rcyrus avatar Nov 30 '20 21:11 rcyrus

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

Jeffail avatar Dec 07 '20 15:12 Jeffail