FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Recognize Include queries and DbSets as queryables by SimonCropp · Pull Request #1075 · VerifyTests/Verify.EntityFramework · GitHub

Recognize Include queries and DbSets as queryables - #1075

Merged
SimonCropp merged 1 commit into
mainfrom
fix-include-queryable
Sep 23, 2026
Merged

SimonCropp merged 1 commit into
mainfrom
fix-include-queryable

Conversation

Copy link
Copy Markdown
Member

IsQueryable only matched EntityQueryable<>. Include and ThenInclude return an IIncludableQueryable implemented by a private type, and a DbSet is an InternalDbSet<>, so verifying either wrote only the results and no sql. Both are now recognized, for Verify targets and nested members.

TryExecuteQueryable now uses ElementType rather than the first generic argument of the queryable type.

IsQueryable only matched EntityQueryable<>. Include and ThenInclude return an
IIncludableQueryable implemented by a private type, and a DbSet is an
InternalDbSet<>, so verifying either wrote only the results and no sql.
Both are now recognized, for Verify targets and nested members.

TryExecuteQueryable now uses ElementType rather than the first generic
argument of the queryable type.
SimonCropp added this to the 15.5.0 milestone Sep 23, 2026
SimonCropp merged commit adb1032 into main Sep 23, 2026
3 of 4 checks passed
SimonCropp deleted the fix-include-queryable branch September 23, 2026 01:40
github-actions Bot restored the fix-include-queryable branch September 23, 2026 01:41
SimonCropp deleted the fix-include-queryable branch September 23, 2026 01:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL