interface
FieldGraphTransformer
FieldGraphTransformer edits immutable fields through public graph operations. The input and result are snapshotted. Plugins should return deterministic edits; closure captures and other plugin-owned external state remain their responsibility. Duplicate plugin keys are rejected before any transform runs.
Properties
| Property | Type | Description |
|---|---|---|
Plugin | Plugin | The Plugin value. |
TransformFields | func(FieldGraphContext, | The TransformFields value. |
Full signature
type FieldGraphTransformer interface {
Plugin
TransformFields(FieldGraphContext, field.Fields) (field.Fields, error)
}