anz-bank / sysl-go

Communication library used by SYSL-generated code written in Go.
Apache License 2.0
10 stars 14 forks source link

ProvisionRestResult implementation #188

Closed tiagralee closed 4 years ago

tiagralee commented 4 years ago

Custom handler implementations in some instances require access to more information than downstream service calls currently permit. This can include the status code, headers or body in the instance that a non-successful response was returned.

Custom code can ProvisionRestResult and retrive the RestResult after the downstream call Generated code will set the HTTP result as the RestResult

close #105 #159