agent_patch
runs/2026-02-21__03-36-16__gpt-5-1-codex-mini/flux-pr-1297/flux-pr-1297.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini/agent-logs/agent.patch
1166 bytes
diff --git a/tmp/agent-patch-flux-pr-1297.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini/app/v2/pkg/engine/resolve/fetch.go b/app/v2/pkg/engine/resolve/fetch.go
index 26e20c7..a028d69 100644
--- a/tmp/agent-patch-flux-pr-1297.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini/app/v2/pkg/engine/resolve/fetch.go
+++ b/app/v2/pkg/engine/resolve/fetch.go
@@ -299,6 +299,8 @@ type FetchConfiguration struct {
// OperationName is non-empty when the operation name is propagated to the upstream subgraph fetch.
OperationName string
+ // ValidateRequiresDependencies enables runtime removal of entities whose @requires dependency failed.
+ ValidateRequiresDependencies bool
}
func (fc *FetchConfiguration) Equals(other *FetchConfiguration) bool {
@@ -393,6 +395,8 @@ type FetchInfo struct {
// with the request to the subgraph as part of the "fetch_reason" extension.
// Specifically, it is created only for fields stored in the DataSource.RequireFetchReasons().
PropagatedFetchReasons []FetchReason
+ // ValidateRequiresDependencies mirrors the corresponding fetch configuration flag.
+ ValidateRequiresDependencies bool
}
type GraphCoordinate struct {