Closed mokipedia closed 4 years ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
Adds the possibility to override parameter codec per request
[ ] Bugfix [X] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [ ] Documentation content changes [ ] Other... Please describe:
ParameterCodec can be set globally for all requests
parameterCodec$ in params will override encoder for HttpParams per request
[ ] Yes [X] No
Note: no tests as I was unable to find a reliable way to programatically test request after interceptor. Input wanted!
Please add tests. You can learn from the current specs.
@mokipedia LGTM, great work!
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Adds the possibility to override parameter codec per request
What is the current behavior?
ParameterCodec can be set globally for all requests
What is the new behavior?
parameterCodec$ in params will override encoder for HttpParams per request
Does this PR introduce a breaking change?
Other information
Note: no tests as I was unable to find a reliable way to programatically test request after interceptor. Input wanted!