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

🧹 Tobias: Refactor Payout#issue and supporting code #14

Conversation

zspencer
Copy link
Member

@zspencer zspencer commented Jan 27, 2024

There was a number of things I didn't love about my implementation of Payout#issue:

  • I had added a Tobias::Record far earlier than necessary
  • There were linter errors
  • Payout#payout_amount felt redundant

This remediates those nose-wrinkles, and sets us up nicely for the next test.

@zspencer zspencer force-pushed the tobias/payout/implement-first-pass-of-issue-method branch from 2afb0d2 to 9a1e213 Compare January 29, 2024 22:21
@zspencer zspencer force-pushed the tobias/payout/refactor-pass-after-first-draft-of-issue branch from 9b5b260 to 8c40791 Compare January 29, 2024 22:23
@zspencer zspencer force-pushed the tobias/payout/implement-first-pass-of-issue-method branch from 9a1e213 to 4ca8de0 Compare January 29, 2024 22:24
Base automatically changed from tobias/payout/implement-first-pass-of-issue-method to tobias/issuing-payouts January 29, 2024 22:24
There was a number of things I didn't love about my implementation of
`Payout#issue`:

- I had added a `Tobias::Record` far earlier than necessary
- There were linter errors
- `Payout#payout_amount` felt redundant

This remediates those nose-wrinkles, and sets us up nicely for the next
test.
@zspencer zspencer force-pushed the tobias/payout/refactor-pass-after-first-draft-of-issue branch from 8c40791 to b27654c Compare January 29, 2024 22:25
@zspencer zspencer merged commit eec626a into tobias/issuing-payouts Jan 29, 2024
@zspencer zspencer deleted the tobias/payout/refactor-pass-after-first-draft-of-issue branch January 29, 2024 22:25
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