You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing a Java plugin, I can determine the source reference of a Step Definition (using handler on Envelope.stepDefinition), but I cannot determine the source reference for a ParameterType.
✨ What's your proposed solution?
Add a SourceReference in the io.cucumber.messages.types.ParameterType.
⛏ Have you considered any alternatives or workarounds?
The ParameterType can be obtained outside Cucumber by looking at all methods annotated @ParameterType on all classes of the classpath, but this is not really efficient.
🤔 What's the problem you're trying to solve?
When implementing a Java plugin, I can determine the source reference of a Step Definition (using handler on
Envelope.stepDefinition
), but I cannot determine the source reference for aParameterType
.✨ What's your proposed solution?
Add a
SourceReference
in theio.cucumber.messages.types.ParameterType
.⛏ Have you considered any alternatives or workarounds?
The
ParameterType
can be obtained outside Cucumber by looking at all methods annotated@ParameterType
on all classes of the classpath, but this is not really efficient.📚 Any additional context?
Feature request to implement this new API change:
Envelope.parameterType
cucumber-jvm#2719Envelope.parameterType
cucumber-ruby#1702Envelope.parameterType
cucumber-js#2272The text was updated successfully, but these errors were encountered: