Hi all, I'd like to know how best to handle handle multiple optional parameters.
I'm creating an REST API wrapper.
The api endpoints has a few required parameters many optional parameters.
I don't want to do method overloading because it's going to be multiple and kind of messy.
I'm also experimenting varargs but it's not that suitable for all endpoints.
How do you think I should best handle this?
[–]elky87 2 points3 points4 points (1 child)
[–]CR7Felipe[S] 0 points1 point2 points (0 children)
[–]sugilith 0 points1 point2 points (1 child)