But then I noticed that options weren't being passed down to the actual api call. So all this PR does is merge them in like we do on the segment version of this call.
I went to add this behavior and wanted to update the specs. I started off by rewriting the spec file using context to cover the various ways we could be exporting. Then I modernized a bit and covered the existing options merging so that I could add my new behavior in the final commit.
I was going to do some user exporting and wanted to specify the fields to return based on the docs here:
https://www.braze.com/docs/api/endpoints/export/user_data/post_users_identifier/#request-parameters
But then I noticed that
options
weren't being passed down to the actual api call. So all this PR does is merge them in like we do on the segment version of this call.I went to add this behavior and wanted to update the specs. I started off by rewriting the spec file using
context
to cover the various ways we could be exporting. Then I modernized a bit and covered the existing options merging so that I could add my new behavior in the final commit.