Skip to content

Conversation

@davidjgoss
Copy link
Contributor

@davidjgoss davidjgoss commented Nov 28, 2025

🤔 What's changed?

Expose a getAllSources() method on the SupportCodeLibrary that returns an array of all source references from across parameter types, steps and hooks.

⚡️ What's your motivation?

A convenience for aggregating source URIs and detecting languages for generating snippets in cucumber/cucumber-node#36

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)

📋 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 November 28, 2025 09:44
@davidjgoss davidjgoss merged commit 292c307 into main Nov 28, 2025
11 checks passed
@davidjgoss davidjgoss deleted the detect-languages branch November 28, 2025 12:58
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