-
Notifications
You must be signed in to change notification settings - Fork 1.9k
remove ValueHandlerUtil and improve CLI argument parsing (DAT-15398) #5729
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
Conversation
# Conflicts: # liquibase-standard/src/main/java/liquibase/util/ObjectUtil.java # liquibase-standard/src/main/java/liquibase/util/ValueHandlerUtil.java
Hey @StevenMassaro , I used to be able to run tests via my IDE as described in the official guide here. However, this no longer works. After spending some time, I was able to narrow it down to this PR that caused the issue. Checking out the commit right before this one ( Below is the error message produced when I try to execute a test through the IDE:
Any thoughts on what is going on here? |
Hey @StevenMassaro , @filipelautert helped me resolve this issue on another thread. I had my |
Impact
Description
Consolidate helper methods around value handling of arguments into one location (
ObjectUtil
). Also, make boolean parsing strict. Before, any unrecognized entry,foo
for example, would be treated asfalse
. Now, any unrecognized entry is treated as an invalid and an error is thrown.Things to be aware of
Things to worry about
It is difficult to know for sure that this change will not break an edge case that someone relies on.
Additional Context