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

Fix PrepareDefault#callable! default check with false #101

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nbcraft
Copy link

@nbcraft nbcraft commented Oct 3, 2022

This PR fixes the callable! check which was not raising when setting default: false, even though it does when setting default: true.

⚠️ This is a breaking change! As it will break for everyone who has set default: false in the past.

  • I believe this should trigger a major version bump because of it.
  • Not sure if I need to update changelog and version number myself, lmk and I'll update this PR.

(Note: I re-used some of @skryukov code from #93 for specs shared_examples)

@nbcraft nbcraft requested a review from solnic as a code owner October 3, 2022 20:46
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.

1 participant