cucumber / cucumber-js

Cucumber for JavaScript
https://cucumber.io
MIT License
5.07k stars 1.09k forks source link

Make `transformer` of defineParameterType optional #2397

Closed badeball closed 7 months ago

badeball commented 7 months ago

🤔 What's changed?

Make transformer of defineParameterType optional.

⚡️ What's your motivation?

This is to accurately reflect actual behavior, as per documentation and tests.

🏷️ What kind of change is this?

Minor, backward compatibility type-change.

♻️ Anything particular you want feedback on?

Nah, nothing aside from the change itself.

📋 Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

coveralls commented 7 months ago

Coverage Status

coverage: 98.397%. remained the same when pulling c11f4e21ef57ea7d389d27f26717497196c8774e on optional-transformer into f18a0045a584f0597b8af83d323e74d6f34331e3 on main.

davidjgoss commented 7 months ago

Released in https://github.com/cucumber/cucumber-js/releases/tag/v10.5.1