Extend registers an additional field onto the type. Unlike natively added fields, the extended func is limited to the external Object interface. cacheConfigFunc is optional, if not set the default dagql ID cache key will be used.
(spec FieldSpec, fun FieldFunc)
| 51 | // Object interface. |
| 52 | // cacheConfigFunc is optional, if not set the default dagql ID cache key will be used. |
| 53 | Extend(spec FieldSpec, fun FieldFunc) |
| 54 | // FieldSpec looks up a field spec by name. |
| 55 | FieldSpec(name string, view call.View) (FieldSpec, bool) |
| 56 | // FieldSpecs returns all field specs visible under the given view. |
no outgoing calls