Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@L-M-Sherlock
Copy link
Contributor

To allow add-ons to read the deck-specific desired retention, I add desired_retention to NormalDeckSchema11.

But f32 is not allowed due to the trait Eq, so I convert it to u32. Is it the best practice?

@dae
Copy link
Member

dae commented Sep 2, 2025

Given that this is our legacy/compatibility layer, and it doesn't have any existing floating points, I think your approach of keeping things the same is probably best. Thanks Jarret.

@dae dae merged commit 4ac8006 into ankitects:main Sep 2, 2025
1 check passed
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.

2 participants