Skip to content

Validate Flow :stages values - #131

Merged
josevalim merged 2 commits into
dashbitco:masterfrom
dajiaohuang:fix-issue-130-validate-stages
Sep 25, 2026
Merged

josevalim merged 2 commits into
dashbitco:masterfrom
dajiaohuang:fix-issue-130-validate-stages

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Validates :stages before materialization and rejects zero, negative, and non-integer values with ArgumentError. Adds focused coverage across the flow constructors and partition/2. Closes #130. Local tests were not run because Mix, Elixir, and Erlang are unavailable; repository CI will run on this pull request.

Comment thread test/flow_test.exs Outdated
@josevalim
josevalim merged commit 7638a6f into dashbitco:master Sep 25, 2026
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

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.

Validate non-positive :stages values before materialization

2 participants