Open
Description
π€ What's the problem you've observed?
Cucumber Java 7.22 is deprecating ScenarioScoped
(cucumber/cucumber-jvm#2971).
Our codebase rely on it, because all our steps definitions are closures.
β¨ Do you have a proposal for making it better?
Get inspiration from the changes done to cucumber-java8 in cucumber/cucumber-jvm#2971.
This requires some important changes mainly because most of our codebase is immutable and applying the same changes as for cucumber-java8 would mean that we have to be able to change the "body" of a AbstractGlueDefinition
instance.
π Any additional context?
No response