Skip to content

Conversation

@LucDeCaf
Copy link
Contributor

@LucDeCaf LucDeCaf commented Dec 31, 2025

Changes the function signatures for a bunch of DB calls (Get, GetAll, Execute, etc.) to explicitly allow null values in the parameter list (object[]? to object?[]?). Also adds a test to make sure null values work. The actual code to replace null with DbNull.Value is already implemented; this just stops the compiler/LSP from generating warnings.

@LucDeCaf LucDeCaf marked this pull request as ready for review December 31, 2025 11:38
@LucDeCaf LucDeCaf requested a review from Chriztiaan January 5, 2026 09:36
Chriztiaan
Chriztiaan previously approved these changes Jan 5, 2026
Copy link
Collaborator

@Chriztiaan Chriztiaan left a comment

Choose a reason for hiding this comment

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

LG2M, changes are in line with what I would expect.

Chriztiaan
Chriztiaan previously approved these changes Jan 5, 2026
@LucDeCaf LucDeCaf merged commit e8de1f2 into main Jan 5, 2026
1 check passed
@LucDeCaf LucDeCaf deleted the feat/optional-parameters branch January 5, 2026 15:53
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