← API reference
CANONICAL TYPE REFERENCE

WhatIfEdgeInput

A caller-supplied, never-persisted hypothetical edge for whatIf (pg_weaver's extra_edges query-time injection).

TypeID of the hypothetical edge's source node.

TypeID of the hypothetical edge's target node.

relString

Relationship name for this hypothetical edge (e.g. "depends_on"). Defaults to "related" when omitted.

weightFloat

Edge weight; defaults to 1.0 when omitted.

View exact SDL
"""
A caller-supplied, never-persisted hypothetical edge for whatIf (pg_weaver's extra_edges query-time injection).
"""
input WhatIfEdgeInput {
  """TypeID of the hypothetical edge's source node."""
  source: ID!
  """TypeID of the hypothetical edge's target node."""
  target: ID!
  """
  Relationship name for this hypothetical edge (e.g. "depends_on"). Defaults to "related" when omitted.
  """
  rel: String
  """Edge weight; defaults to 1.0 when omitted."""
  weight: Float
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.