VNG-Realisatie / vng-api-common

Gedeelde code voor RESTful APIs
5 stars 12 forks source link

Feature/clientconfig custom client #131

Closed stevenbal closed 4 years ago

stevenbal commented 4 years ago

related OZ issue: https://github.com/open-zaak/open-zaak/issues/610

Adds an option to specify a CUSTOM_CLIENT_FETCHER, which is a function that returns the desired client for ClientConfig models. This allows Service.get_client to be called for OpenZaak

@sergei-maertens wasn't sure whether this PR should be made to stable/1.0.x or to master?

sergei-maertens commented 4 years ago

wasn't sure whether this PR should be made to stable/1.0.x or to master?

both, but I'll take care of that. Currently only the 1.0.x branch is relevant, as there's barely any development happening for 1.1 versions of APIs.