Skip to content

Conversation

@wise-king-sullyman
Copy link
Collaborator

@wise-king-sullyman wise-king-sullyman commented Mar 13, 2023

Extends rule helper added in #306 and test helper added in #334. Allows the rule helper to automate more of the needed changes and tests which ensure the helper additions are functioning properly.

Also closes #339

  • chore(helpers): add swap param support to param adding helper
  • chore(helpers): add support for addition to multi params
  • chore(helpers): add support for preserving leading _ usage

@wise-king-sullyman wise-king-sullyman marked this pull request as ready for review March 13, 2023 19:56
@wise-king-sullyman wise-king-sullyman changed the title Improvements to add param to callback helper Improvements to addCallbackParam helper Mar 13, 2023
@wise-king-sullyman wise-king-sullyman changed the title Improvements to addCallbackParam helper Improvements to addCallbackParam helper & associated tests Mar 13, 2023
Copy link
Collaborator

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent enhancement to this! Definitely will make future codemods for the remaining callback API epic that much easier 🚀

@gitdallas gitdallas merged commit 5aff74b into patternfly:main Mar 16, 2023
@wise-king-sullyman wise-king-sullyman deleted the add-swap-cb-helper branch March 16, 2023 17:31
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.

addCallbackParam helper - take into account param typing (not a codemod)

3 participants