Description
I'm testing out the new 2.1.0 release and it looks like the ValueProviderSupport class has been deprecated. I have a flow where I have multiple parameters which need a value provider and the suggested value from the first returned and used to filter the value provider for the second.
Currently tabbing on ValueProvider for the first parameter returns the correctly it also incorrectly returns both parameters in addition to the provided value. The second ValueProvider seems never to be triggered.
I am using Kotlin, and my method signature would look something like this:
@ShellMethod("Get details")
fun getDetails(
@ShellOption(valueProvider = TestValueProvider1::class) test1: String,
@ShellOption(valueProvider = TestValueProvider2::class) test2: String
)
In the 2.0.0 API I used ValueProviderSupport and this gave me exactly what I needed. What is the correct way to achieve this now in 2.1.x?