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

Rename "Defer errors" to "Stop on first error" #2449

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

joeyballentine
Copy link
Member

As suggested by @adegerard on Discord.

I had to invert how this boolean behaves for it to make sense. I think this is a much better and more intuitive label for it.

@RunDevelopment
Copy link
Member

Does this need a migration?

@RunDevelopment
Copy link
Member

I like the new label for the input, but I'm not a fan of the internal throw_early variables. It's a weird name IMO. A common paradigm is called "fail fast", so maybe we could call the variables fail_fast?

@joeyballentine
Copy link
Member Author

joeyballentine commented Jan 11, 2024

Does this need a migration?

We don't do migrations for unstable changes. Deferring the errors was the old behavior in stable so therefore this is correct. If people made chains in a nightly version and those are now broken, that doesn't need a migration because they signed up for unstable changes when they used the nightly (imo)

@joeyballentine
Copy link
Member Author

Going to merge this so I can get it in today's nightly.

@joeyballentine joeyballentine merged commit d613bed into main Jan 11, 2024
14 checks passed
@joeyballentine joeyballentine deleted the rename-defer-errors branch January 11, 2024 23:10
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

2 participants