:wave: hey team, I’m trying to create a KeyedCoPro...
# troubleshooting
m
👋 hey team, I’m trying to create a KeyedCoProcessFunction with generic type parameters. I want to store some ValueState with these generic types as well, and I also want to restrict what type can be passed into the generic function. however, to be able to store the generic type in the state, I need to use a context bound (as described here) which prevents me from using a type bound for my function. how can I do what I’m describing?
one possibility I thought of is to pass in the type info to the constructor or delegate type inference to the subclass in some way, but I’m wondering if there’s a cleaner way