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

Fix enums used as table keys throwing exception #53

Merged
merged 4 commits into from
Feb 26, 2025

Conversation

ITR13
Copy link
Contributor

@ITR13 ITR13 commented Feb 26, 2025

When deserializing tables with enums as keys an exception was thrown due to IConvertible not being able to convert to enums.

I've added tests for it, fixed the issue, and moved some model files that were in the wrong folder while I was at it.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 13544699627

Details

  • 15 of 20 (75.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 91.695%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Tomlet/TomlSerializationMethods.cs 15 20 75.0%
Totals Coverage Status
Change from base Build 12454595939: -0.2%
Covered Lines: 1921
Relevant Lines: 2095

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 13544812321

Details

  • 15 of 20 (75.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 91.695%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Tomlet/TomlSerializationMethods.cs 15 20 75.0%
Totals Coverage Status
Change from base Build 12454595939: -0.2%
Covered Lines: 1921
Relevant Lines: 2095

💛 - Coveralls

@SamboyCoding SamboyCoding merged commit 0f83b66 into SamboyCoding:master Feb 26, 2025
2 checks 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.

3 participants