Skip to content

Conversation

@User00015
Copy link
Contributor

When you use .Include on a nullable FK, an exception is thrown during the dynamicResult cast. Adding a guard here now allows mapping to continue as expected.

…ult causes an exception. Added a guard to ensure dynamic mapping no longer fails when running across a FK that is null.
…ult causes an exception. Added a guard to ensure dynamic mapping no longer fails when running across a FK that is null.
@ahmad-moussawi ahmad-moussawi merged commit 7bf1595 into sqlkata:master Feb 10, 2022
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.

2 participants