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

Make the options optional when using the client #147

Open
aminnairi opened this issue Dec 16, 2023 · 0 comments
Open

Make the options optional when using the client #147

aminnairi opened this issue Dec 16, 2023 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@aminnairi
Copy link
Owner

Is your feature request related to a problem? Please describe.
It would be great to not be forced to not having to specify the options property in the client method when called and no options is necessary for this particular request.

Describe the solution you'd like
The options argument should be optional when sending a request.

// This
client.getKryptonians({parameters: null});

// Instead of this
client.getKryptonians({
  parameters: null,
  options: {}
});

Describe alternatives you've considered
Allow setting the options argument to null.

Additional context
None.

@aminnairi aminnairi added the feature New feature or request label Dec 16, 2023
@aminnairi aminnairi added this to the 4.1.0 milestone Dec 16, 2023
@aminnairi aminnairi self-assigned this Dec 16, 2023
@aminnairi aminnairi changed the title Make the options otional when using the client Make the options optional when using the client Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant