HubSpot.NET icon indicating copy to clipboard operation
HubSpot.NET copied to clipboard

ListRequestOptions should know how to compose it's own querystring

Open Psypher9 opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently when using ListRequestOptions, our pattern is to use a bunch of repetitive code to set the query params for each individual request, over and over ad nauseum. Example:

image

This happens over and over, but we use the same ListRequestOptions, so all options are already held internally.

Describe the solution you'd like Instead of being repetitive, we should build the ListRequestOptions in such a way that it knows how to build it's own query string and that string is then appended to the request URI.

Psypher9 avatar Oct 09 '20 03:10 Psypher9

Being handled in e0795ea..634cc5b and on psypher9/91

Psypher9 avatar Oct 09 '20 06:10 Psypher9