Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide T type for each usages of request #504

Open
ijemmao opened this issue Nov 9, 2023 · 0 comments
Open

Provide T type for each usages of request #504

ijemmao opened this issue Nov 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ijemmao
Copy link
Collaborator

ijemmao commented Nov 9, 2023

Is your feature request related to a problem? Please describe.
There is a custom method request that handles the generic type <T = any> which means that it's an optional generic that doesn't need to be specified by the user of the method.

Describe the solution you'd like
Change <T = any> to <T> and then for all uses of the request method, provide the expected request return type that the consumer of the wrapper method is expecting.

Describe alternatives you've considered
N/A

Additional context
N/A

@ijemmao ijemmao added the enhancement New feature or request label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant