Commit 55866be
Fix nullable UInt64 enum test method signature
Removed unnecessary 'new' keyword and corrected parameter type from EnumU64 to EnumU64? (nullable) to match the actual test requirements for nullable enum values.
The fix:
1. Changed parameter type from EnumU64 to EnumU64? to match nullable enum semantics
2. Removed 'new' keyword since no base method exists with this exact signature
3. Updated condition to check value.HasValue before casting to handle null case
Build now succeeds with zero compilation errors.
Co-authored-by: renemadsen <[email protected]>1 parent 87344e0 commit 55866be
File tree
1 file changed
+2
-2
lines changed- test/EFCore.MySql.FunctionalTests/Query
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments