MCPcopy
hub / github.com/danielgtaylor/huma / Resolve

Method Resolve

huma_test.go:3454–3460  ·  view source on GitHub ↗
(ctx huma.Context, prefix *huma.PathBuffer)

Source from the content-addressed store, hash-verified

3452}
3453
3454func (b *NestedResolversStruct) Resolve(ctx huma.Context, prefix *huma.PathBuffer) []error {
3455 return []error{&huma.ErrorDetail{
3456 Location: prefix.With("field2"),
3457 Message: "resolver error",
3458 Value: b.Field2,
3459 }}
3460}
3461
3462var _ huma.ResolverWithPath = (*NestedResolversStruct)(nil)
3463

Callers

nothing calls this directly

Calls 1

WithMethod · 0.80

Tested by

no test coverage detected