Title: Can we put Query Splitting into SharpRepository.Repository.FetchStrategies? · Issue #274 · SharpRepository/SharpRepository · GitHub
Open Graph Title: Can we put Query Splitting into SharpRepository.Repository.FetchStrategies? · Issue #274 · SharpRepository/SharpRepository
X Title: Can we put Query Splitting into SharpRepository.Repository.FetchStrategies? · Issue #274 · SharpRepository/SharpRepository
Description: warn: 4/5/2025 10:51:51.035 RelationalEventId.MultipleCollectionIncludeWarning[20504] (Microsoft.EntityFrameworkCore.Query) Compiling a query which loads related collections for more than one collection navigation, either via 'Include' o...
Open Graph Description: warn: 4/5/2025 10:51:51.035 RelationalEventId.MultipleCollectionIncludeWarning[20504] (Microsoft.EntityFrameworkCore.Query) Compiling a query which loads related collections for more than one colle...
X Description: warn: 4/5/2025 10:51:51.035 RelationalEventId.MultipleCollectionIncludeWarning[20504] (Microsoft.EntityFrameworkCore.Query) Compiling a query which loads related collections for more than one colle...
Opengraph URL: https://github.com/SharpRepository/SharpRepository/issues/274
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can we put Query Splitting into SharpRepository.Repository.FetchStrategies?","articleBody":"\n\n\u003e warn: 4/5/2025 10:51:51.035 RelationalEventId.MultipleCollectionIncludeWarning[20504] (Microsoft.EntityFrameworkCore.Query)\n Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w =\u003e w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'\n\nI want to:\n\n```csharp\n public static IFetchStrategy\u003cBlind\u003e QuerySplittingBehaviorSingle() =\u003e new GenericFetchStrategy\u003cBlind\u003e()\n .AsSingleQuery();\n```","author":{"url":"https://github.com/VictorioBerra","@type":"Person","name":"VictorioBerra"},"datePublished":"2025-04-05T15:55:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/274/SharpRepository/issues/274"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10f294ad-297c-6b16-6a68-085758311298 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8488:74626:4D6D548:4E9E14E:6973264C |
| html-safe-nonce | b2a606fbe336ec99604d43bc51a81d61702079b0709757b0fcf78ea8698c1bc1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDg4Ojc0NjI2OjRENkQ1NDg6NEU5RTE0RTo2OTczMjY0QyIsInZpc2l0b3JfaWQiOiI4ODgyMDQ2MzYxOTMxMDMyMTQwIiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | ae443d3fcb87653b7dc17ed6d4ddea51a352a343ab9521e9fbe9e95a5153a8e2 |
| hovercard-subject-tag | issue:2974304868 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SharpRepository/SharpRepository/274/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0fb4b27d72e44d0a3bc9d8900a2bf93a7c475bc1f18d72bfaa9fab9ccb8dd1f/SharpRepository/SharpRepository/issues/274 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0fb4b27d72e44d0a3bc9d8900a2bf93a7c475bc1f18d72bfaa9fab9ccb8dd1f/SharpRepository/SharpRepository/issues/274 |
| og:image:alt | warn: 4/5/2025 10:51:51.035 RelationalEventId.MultipleCollectionIncludeWarning[20504] (Microsoft.EntityFrameworkCore.Query) Compiling a query which loads related collections for more than one colle... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VictorioBerra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/SharpRepository/SharpRepository git https://github.com/SharpRepository/SharpRepository.git |
| octolytics-dimension-user_id | 1801360 |
| octolytics-dimension-user_login | SharpRepository |
| octolytics-dimension-repository_id | 4514047 |
| octolytics-dimension-repository_nwo | SharpRepository/SharpRepository |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4514047 |
| octolytics-dimension-repository_network_root_nwo | SharpRepository/SharpRepository |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width