Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: Handle Cucumber-Wire issue when parameter type cannot be specified on Envelope #1746

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

luke-hill
Copy link
Contributor

@luke-hill luke-hill commented Dec 22, 2023

Description

Attempts to fix Handle NME from cucumber-wire

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.

Checklist:

Your PR is ready for review once the following checklist is
complete. You can also add some checks if you want to.

  • Tests have been added for any changes to behaviour of the code
  • New and existing tests are passing locally and on CI
  • bundle exec rubocop reports no offenses
  • RDoc comments have been updated
  • CHANGELOG.md has been updated

@luke-hill luke-hill changed the title bugfix: Handle Cucumber-Wire issue when parameter type is not specified on Envelope bugfix: Handle Cucumber-Wire issue when parameter type cannot be specified on Envelope Dec 22, 2023
@luke-hill
Copy link
Contributor Author

@canmor - Can you let me know if this fixes your issue. If so will get this merged and cut soon

@luke-hill
Copy link
Contributor Author

cc/ @ursfassler if you want to stay abreast of things that are currently being fixed that are likely to affect cpp

- When step match argument cannot detect the parameter type name, return `nil` and then have the optional param fed as `nil`
- When there is no parameter type (Because of legacy system), then return `nil` and have the optional param fed as `nil`
@luke-hill luke-hill force-pushed the bugfix/make_parameter_type_optional_in_envelope branch from c526dde to e3f08be Compare January 12, 2024 14:05
@luke-hill luke-hill merged commit b126fc8 into main Jan 12, 2024
8 checks passed
@luke-hill luke-hill deleted the bugfix/make_parameter_type_optional_in_envelope branch January 12, 2024 14:05
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.

cucumber crash with wire protocol while output format is html
1 participant