Expose response ContentTypes in api-definition and use them in proxies#25639
Open
maliming wants to merge 15 commits into
Open
Expose response ContentTypes in api-definition and use them in proxies#25639maliming wants to merge 15 commits into
maliming wants to merge 15 commits into
Conversation
1 task
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #25639 +/- ##
==========================================
+ Coverage 49.36% 49.38% +0.02%
==========================================
Files 3687 3687
Lines 124432 124537 +105
Branches 9507 9532 +25
==========================================
+ Hits 61421 61500 +79
- Misses 61171 61210 +39
+ Partials 1840 1827 -13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…yloads in RestService
…lections to any[] in Angular schematic
…ngular client proxies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose response
ContentTypesandIsRemoteStreamflag in api-definition so C# / jQuery / Angular proxies can echo back the actual declared media type instead of collapsing everything toapplication/json+text/plain. Also unwraps ABP error envelopes inRestServicefor text and blob response modes. The jQuery generator and Angular schematic now forward DTO uploads containingIRemoteStreamContentas multipartFormDatainstead of JSON.Closes #23732
Closes #8581