mikependon / RepoDB

A hybrid ORM library for .NET.
Apache License 2.0
1.7k stars 125 forks source link

Fix enum conversion issue, causing integration test failures [1] #1187

Closed rhuijben closed 1 week ago

rhuijben commented 2 weeks ago

During testing we try to convert an int64 to an enum value. This fails in automatic conversion mode because the tested enum has an integer underlying type.

This patch implements the easy fix and fixes the remaining RepoDb.IntegrationTests by improving the culture scope. (Needed for my half EN-US, half NL-NL setup).

Also removes a bit of dead code.

(Part of a PR batch, fixing most test failures on current master, and adding a docker testscript verifying that things keep working)