Open wzy1935 opened 1 month ago
Perhaps could we wrap an interceptor and evaluate a condition on ProxyRequest
. Something like:
ConditionalTransformer.applyIf(predicate,BodyInterceptor.modifyRequestBody(myTransformer));
With predicate
evaluating the ProxyContext
and returning a Boolean
Some interceptors can not be represented with shortcuts if they contain "if" statements, e.g. ProductImageFieldInterceptor: