Replies: 1 comment 3 replies
-
|
This has been moved to #2174 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, This hook requires an empty object, because endpoint has some parameters (
params) that can be provided, but all these params are optional (non-required).Any chance I can make this syntax
useGetBroadcasts()valid? I don't really want to provide empty object in all my services/hooks, but I want to add some global, optional parameters to my backend (and its own Swagger Documentation that is being used to generate Kubb schema).tl;dr: I want my endpoint-handling services (and hooks built-upon them) to accept undefined instead of empty-object when I don't want to specify parameters.
Beta Was this translation helpful? Give feedback.
All reactions