Skip to content

Conversation

@nicopop
Copy link
Contributor

@nicopop nicopop commented Nov 18, 2024

as sugested in #101 it was split in its own PR Still need to find why removing the .lower.strip from key in datavalidation make the diff think I changed the entire file...

to help with some bug in datavalidation make it so values are actually lowercase in the dict
before this most of the ItemValue code did name.lower.strip() everytime

@nicopop nicopop requested a review from FuzzyGamesOn November 18, 2024 05:22
@nicopop nicopop self-assigned this Nov 18, 2024
@nicopop nicopop mentioned this pull request Nov 18, 2024
@nicopop
Copy link
Contributor Author

nicopop commented Nov 18, 2024

An alternative to this pr is to remove all the .lower() in everything related to ItemValue (which is a possibility if you all feel like it's a better idea)
When I originally made ItemValue, I didn't want devs to make value type whose only difference was capitalisation (star vs Star or Coin vs coin)

Copy link
Collaborator

@silasary silasary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this

@FuzzyGamesOn FuzzyGamesOn merged commit 63997f8 into main Nov 22, 2024
@silasary silasary deleted the ItemValue-Lowercase branch December 2, 2024 04:13
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.

4 participants