Skip to content

QueryableExtensions: Add Support for GUID Types#65

Merged
philipaconrad merged 2 commits intomainfrom
philip/add-guid-support
Jan 2, 2026
Merged

QueryableExtensions: Add Support for GUID Types#65
philipaconrad merged 2 commits intomainfrom
philip/add-guid-support

Conversation

@philipaconrad
Copy link
Member

@philipaconrad philipaconrad commented Jan 2, 2026

🔩 What code changed, and why?

This PR adds support for automatically converting strings
from a UCAST expression into GUID types when the LINQ object
property we're matching aginst is a GUID. This helps in cases
where a database model has a UUID/GUID column.

Also included is a small type specialization (to a concrete type) for the return type of QueryableExtensions.BuildFieldExpressionFromProperty(), which shouldn't break anything, and may allow the compiler to be a smidgen smarter for optimizations.

Fixes: #59

👟 How to test

  • dotnet test picks up the new unit tests for eq, ne, in, and nin cases.

⛓️ Related Resources

…ete return type.

Signed-off-by: Philip Conrad <philip@chariot-chaser.net>
@philipaconrad philipaconrad self-assigned this Jan 2, 2026
@philipaconrad philipaconrad added the enhancement New feature or request label Jan 2, 2026
This commit adds support for automatically converting strings
from a UCAST expression into GUID types when the LINQ object
property we're matching aginst is a GUID. This helps in cases
where a database model has a UUID/GUID column.

Fixes: #59

Signed-off-by: Philip Conrad <philip@chariot-chaser.net>
@philipaconrad philipaconrad force-pushed the philip/add-guid-support branch from 2568ea5 to 2f3ed53 Compare January 2, 2026 18:37
@philipaconrad philipaconrad merged commit ab0a052 into main Jan 2, 2026
7 checks passed
@philipaconrad philipaconrad deleted the philip/add-guid-support branch January 2, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QueryableExtensions.BuildFieldExpressionFromProperty needs GUID support

1 participant