From 65517771b1cbee7458f4609e5614113b24f465f8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 16:40:08 +0000 Subject: [PATCH 1/2] Initial plan From 2a20ca59bf26d31bf442d03ed82e06eac86ee167 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 16:40:41 +0000 Subject: [PATCH 2/2] Remove misleading comment about passing null; contextType is now passed directly Co-authored-by: cliedeman <3578740+cliedeman@users.noreply.github.com> --- src/Stackworx.EfCoreGraphQL/Generate.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Stackworx.EfCoreGraphQL/Generate.cs b/src/Stackworx.EfCoreGraphQL/Generate.cs index dd531c8..35c3024 100644 --- a/src/Stackworx.EfCoreGraphQL/Generate.cs +++ b/src/Stackworx.EfCoreGraphQL/Generate.cs @@ -171,9 +171,6 @@ public static string GenerateString( continue; } - // Design-time generation doesn't have a DbContext instance. - // The emitters currently only need entity metadata, so we can safely pass null. - // (Any future DbContext usage should be guarded.) Generate(contextType, entity, sb, version); }