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

Issue16 refactor bet size.rs #19

Merged

Conversation

bkushigian
Copy link
Owner

Copying #17 that got borked cuz github can't figure out how to fucking send my PRs to my own fucking repo and not upstream. JFC this has wasted so much of my time.

This is a PR to address #16

This PR addresses points in issue #16:

  • Move is_raise related checks from BetSize to BetSizeOptions
  • Make BetSizeOptions fields non-public
  • Rename BetSizeOptions fields (pluralize)

Additionally, this PR implements some serialization/deserialization (which probably belongs in parent PR but I'm lazy), and implements try_from_sizes and as_valid_bets that moves logic about valid bet sizes (versus raise sizes) out of BetSize

@bkushigian bkushigian merged commit 31d99f1 into bkushigian/issue14-serde-tree-config Oct 16, 2024
4 checks passed
@bkushigian bkushigian deleted the issue16-refactor-bet_size.rs branch October 16, 2024 11:44
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