Skip to content

Conversation

@mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Jul 9, 2025

⚡️ What's your motivation?

In #76 Lineage became part of the public API. This removes the need for various queries that depend on the lineage or the lineage reducer.

To ensure test coverage remains the NamingStrategyAcceptanceTest was added.

Fixes: #82.

🏷️ 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.

In #76 Lineage became part of the public API. This removes the need for
various queries that depend on the lineage or the lineage reducer.

To ensure test coverage remains the `NamingStrategyAcceptanceTest` was
added.

Fixes: #82.
@mpkorstanje mpkorstanje mentioned this pull request Jul 9, 2025
7 tasks
clrudolphi added a commit to clrudolphi/query that referenced this pull request Jul 18, 2025
mpkorstanje added a commit to cucumber/junit-xml-formatter that referenced this pull request Sep 5, 2025
Pre-emptively migrate away from soon-to-be-deprecated methods
(cucumber/query#84), partly to validate the consumer cost is not too
great.

Also while we're here, get rid of node:assert usage and replace with a
simple function, thus removing unnecessary coupling to Node.js as a
runtime.

Co-authored-by: M.P. Korstanje <[email protected]>
@mpkorstanje mpkorstanje marked this pull request as ready for review September 10, 2025 22:02
@mpkorstanje mpkorstanje merged commit 82b3190 into main Sep 10, 2025
9 checks passed
@mpkorstanje mpkorstanje deleted the deprecate-lineage-derrived-queries branch September 10, 2025 22:02
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.

Clean up Lineage dependent methods from Query

2 participants