Skip to content

Support both datatable and docstring - #136

Merged
davidjgoss merged 3 commits into
mainfrom
support-datatable-and-docstring
Sep 24, 2026
Merged

davidjgoss merged 3 commits into
mainfrom
support-datatable-and-docstring

Conversation

@davidjgoss

@davidjgoss davidjgoss commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

🤔 What's changed?

Support both data table and doc string in a single step, by replacing the individual fields with an array of StepArgument which is a union of the two existing types that can be easily narrowed.

⚡️ What's your motivation?

Required for cucumber/compatibility-kit#291.

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)
  • 💥 Breaking change (incompatible changes to the API)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

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

@davidjgoss
davidjgoss marked this pull request as ready for review September 24, 2026 16:26
@davidjgoss
davidjgoss merged commit b5a44e3 into main Sep 24, 2026
14 checks passed
@davidjgoss
davidjgoss deleted the support-datatable-and-docstring branch September 24, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant