-
-
Notifications
You must be signed in to change notification settings - Fork 8
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 docs around run #131
Fix docs around run #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small readability suggestion, but only if you agree. Its pretty much the same thing regardless.
Sounds good! Sorry still new to Elixir and it's documentation patterns. I'll update the PR |
The docs incorrectly suggested and showed usages of `run` with arity 3. But `run` only allows for arity 1 and 2. This patch updates the docs to show the correct usage and labeling for the function. Fixes ash-project#128
This test was warning when run. It unfortunately was getting a false positive as written due to calling `.name` on a atom rather than getting the `:name` property of the `:current_step` map. This change fixes the test and looks for the correct error message.
All set |
I'm actually not sure my suggestion was conventional or not. Either way, its right now when it was wrong before, 🙇 |
This PR fixes #128 and a small test that was warning. It mostly focuses on correcting the documentation around how the anonymous
run
function should be used within a step.Contributor checklist