(ctx context.Context)
| 1896 | } |
| 1897 | |
| 1898 | func CurrentCall(ctx context.Context) *ResultCall { |
| 1899 | val := ctx.Value(callCtx{}) |
| 1900 | if val == nil { |
| 1901 | return nil |
| 1902 | } |
| 1903 | return val.(*ResultCall) |
| 1904 | } |
| 1905 | |
| 1906 | // ChildFieldCall derives the call frame for a child field selection while |
| 1907 | // preserving the receiver lineage, module, and view from the parent call. |