You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type hook was previously useful for defining response content types in the swagger plugin. Although it still works, there is now a lack of IntelliSense support since it has disappeared from the LocalHook definition (replaced by parse ?).
This change has made it more difficult to easily specify response content types, potentially impacting API documentation accuracy and developer experience.
Tell me if this is more an issue for the swagger pluggin
Where did you find it?
No response
The text was updated successfully, but these errors were encountered:
mtt-artis
changed the title
Type: type hook disapear from hook definition
Type: type disapear from hook definition
Jan 16, 2025
mtt-artis
changed the title
Type: type disapear from hook definition
Type: type disappears from hook definition
Jan 16, 2025
What is the type of issue?
No response
What is the issue?
Hello 👋
The
type
hook was previously useful for defining response content types in the swagger plugin. Although it still works, there is now a lack of IntelliSense support since it has disappeared from theLocalHook
definition (replaced byparse
?).https://github.com/elysiajs/elysia/blob/main/src/types.ts#L1166](https://github.com/elysiajs/elysia/blob/main/src/types.ts#L1166)
This change has made it more difficult to easily specify response content types, potentially impacting API documentation accuracy and developer experience.
Tell me if this is more an issue for the swagger pluggin
Where did you find it?
No response
The text was updated successfully, but these errors were encountered: