Skip to content

Prefer Pickle.Location with fallback to Lineage#175

Draft
davidjgoss wants to merge 1 commit into
mainfrom
pickle-location
Draft

Prefer Pickle.Location with fallback to Lineage#175
davidjgoss wants to merge 1 commit into
mainfrom
pickle-location

Conversation

@davidjgoss

@davidjgoss davidjgoss commented Jun 17, 2026

Copy link
Copy Markdown
Member

🤔 What's changed?

Pickle.Location is present in newer versions of Cucumber, so if it's there we should use it rather than go through the Lineage to get it. We should still maintain the fallback though, since Query will be used for formatters that might still be dealing with messages from older versions.

(This brings the .NET and JavaScript versions in line with what Java was already doing.)

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing 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.

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