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

Don't raise when including CableReadyHelper #256

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

marcoroth
Copy link
Member

Type of PR

Enhancement

Description

Instead of raising an exception when including the CableReadyHelper module we print a warning and include the right CableReady::ViewHelper module anyway, so we are not breaking any existing code.

Why should this be added

This is a much better DX than raising an error and requiring the developer to fix it right away.

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing

Instead print a warning and include the module anyway, so we are not breaking any exisiting code
@marcoroth marcoroth force-pushed the dont-raise-when-including-cablereadyhelper branch from 8ff8e71 to 0d53064 Compare February 14, 2023 15:47
@marcoroth marcoroth merged commit 1c28d83 into main Feb 14, 2023
@marcoroth marcoroth deleted the dont-raise-when-including-cablereadyhelper branch February 14, 2023 16:03
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.

None yet

1 participant