Resolve resolves id with the database held by the context.
(ctx context.Context, id id.ID)
| 47 | |
| 48 | // Resolve resolves id with the database held by the context. |
| 49 | func Resolve(ctx context.Context, id id.ID) (interface{}, error) { |
| 50 | return Get(ctx).Resolve(ctx, id) |
| 51 | } |
| 52 | |
| 53 | // Build stores resolvable into d, and then resolves and returns the resolved |
| 54 | // object. |