- Issue created by @brianperry
- Status changed to Postponed
over 1 year ago 9:30pm 26 August 2023 - 🇺🇸United States brianperry
Marking this as postponed as we focus on the vertical slice POC.
- Status changed to Active
about 1 year ago 2:26pm 1 November 2023 - 🇮🇳India pratik_kamble Pune, India
@brianperry, Are you talking here about JSONAPI Client method?
- 🇺🇸United States brianperry
I think this issue might be a dupe at this point.
The original intent was to be able to override options provided when creating an instance of the JsonApiClient class when calling individual methods like getResource, createResource, and so on.
I don't think being able to override things like fetch, the logger, or the serializer really make sense for these individual methods. The most important use cases in my opinion are being able to call methods using a locale different than the default locale (defaulting to EN, but getting a ES node for example) and also specifying that an individual method call bypasses the cache.
We support this via GetOptions, so I think we are mostly covered here.
We might not be able to override the locale for create, update, delete. I'm going to test that and either convert this issue to address that, or create a new one.
- 🇺🇸United States brianperry
I did confirm that create/update/delete does not currently honor locale. Updated this issue to address that.
- Assigned to coby.sher
- Status changed to Needs review
10 months ago 2:23pm 23 February 2024 - Issue was unassigned.
- Status changed to Fixed
10 months ago 4:53pm 25 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.