Skip to content

fix: Valid handler#22

Merged
jimyag merged 2 commits intofox-gonic:mainfrom
miclle:ValidHandler
Jun 25, 2025
Merged

fix: Valid handler#22
jimyag merged 2 commits intofox-gonic:mainfrom
miclle:ValidHandler

Conversation

@miclle
Copy link
Copy Markdown
Member

@miclle miclle commented Jun 25, 2025

No description provided.

miclle added 2 commits June 25, 2025 10:47
Updated IsValidHandlerFunc to accept interface types as valid for the second parameter, in addition to struct and map. This increases flexibility for handler function signatures.
Added a new test case in TestIsValidHandlerFunc to verify that handlers accepting an interface{} (any) as a parameter are considered valid.
@jimyag jimyag merged commit 7071118 into fox-gonic:main Jun 25, 2025
5 checks passed
@miclle miclle deleted the ValidHandler branch December 6, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants