-
Hi, when I define a OpenAPIHono with a defaultHook and a child route, like this:
The defaultHook is not called when there is an error in a path defined in |
Beta Was this translation helpful? Give feedback.
Answered by
yusukebe
Dec 10, 2023
Replies: 1 comment
-
Yes, that is the expected behavior. You should define the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cldsnchz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, that is the expected behavior. You should define the
defaultHook
for each instance.