Skip to content

Commit

Permalink
Merge pull request #619 from alexanderilyin/patch-2
Browse files Browse the repository at this point in the history
Update request-resolvers.md
  • Loading branch information
danielgtaylor authored Oct 22, 2024
2 parents c6191e3 + 328d458 commit ee574f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/features/request-resolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For deeply nested structs within the request body, you may not know the current
func (m *MyInput) Resolve(ctx huma.Context, prefix *huma.PathBuffer) []error {
return []error{&huma.ErrorDetail{
Message: "Foo has a bad value",
Location: prefix.With("foo")
Location: prefix.With("foo"),
Value: m.Foo,
}}
}
Expand Down

0 comments on commit ee574f8

Please sign in to comment.