fix(m9/T32b): drop scoped-from-root fallback for ISharedSchemaRepository (match gateway pattern)

This commit is contained in:
Joseph Doherty
2026-06-18 12:34:10 -04:00
parent 71a2bca4df
commit 991d90a875
@@ -317,7 +317,7 @@ public class InboundScriptExecutor
// repository round-trip entirely. A dangling ref surfaces as a descriptive
// validation failure naming the missing reference, not an opaque parse error.
var sharedSchemaRepo =
(scope?.ServiceProvider ?? _serviceProvider).GetService<ISharedSchemaRepository>();
scope?.ServiceProvider.GetService<ISharedSchemaRepository>();
var resolveRef = await SchemaRefResolver.BuildAsync(
sharedSchemaRepo, [method.ReturnDefinition], cts.Token);