holidayextras / jsonapi-client

Easily consume a json:api service in Javascript.
MIT License
68 stars 19 forks source link

Allow passing querystring settings #74

Open multimeric opened 5 years ago

multimeric commented 5 years ago

The qs library supports a few very useful settings that determine how it generates the query string: https://github.com/ljharb/qs#stringifying. These include arrayFormat, indices, and encode. Since jsonapi-client uses qs for query string construction, it would be useful to allow us to pass in settings to qs as part of GET requests.