method
Plugin.TransformFields
TransformFields attaches the SEO group through the same immutable graph used by application fields, preserving behavior on every existing node.
Arguments
| Argument | Type | Description |
|---|---|---|
context | core.FieldGraphContext | The context value. |
graph | field.Fields | The graph value. |
Returns
The declared result.
(field.Fields, error)Full signature
func (plugin *Plugin) TransformFields(
context core.FieldGraphContext,
graph field.Fields,
) (field.Fields, error)Related types
PluginA configured SEO extension implementing config transformation, descriptor, and endpoint capabilities.
FieldGraphContextFieldGraphContext identifies the resource a graph plugin is editing. Resource transforms complete first; graph transforms then run once in Plugins order. Resource hooks, endpoints and domain capabilities retain their own contracts.
FieldsFields is the ordered list assigned to ridu.Collection.Fields, ridu.Global.Fields, or a nested field constructor. Populate it with Nodes from this package's constructors. Ridu snapshots the caller-owned slice during construction, editing, and config resolution.