support invokeXXX method return Response
See original GitHub issueDescribe the proposal
it is not support return Response(with code and headers) in invokeXXX method now. it just convert body data by jackson and return.(there is a bug that jackson can’t convert the string without json format)
it is unsupport if somebody need code and header.
i think that it needs deserialize layer and response interface(implement of http and grpc) to adapt.
use the below code to get Response.
invokeMethod(request,TypeRef<Response>)
Issue Analytics
- State:
- Created a year ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Method invocation error handling for invalid method name
Whenever one makes a HTTP call to Dapr with invalid app ID, it handles it gracefully and returns a proper message. Sample request....
Read more >Return ViewComponent from Action in a Controller - MSDN
The most obvious way is call this method inside a controller: // Method on PageController public IActionResult Content() { return View(); }.
Read more >Why is Invoke-WebRequest and Invoke-RestMethod failing ...
Does anyone know why the Invoke-XXX cmdlets are returning an error and what I can do to fix it? Again, it works perfectly...
Read more >Solved Java code: Cannot invoke "xxx" because "this.type
Question: Java code: Cannot invoke "xxx" because "this.type' null. Can't figure out how to fix this error. Error in compiler: Pictures of the...
Read more >Java – Stateless Blocking Server Design – iTecNote
The appropriate response (based on the outcome) is created, the client is ... Builder (recognizeable by creational methods returning the instance itself).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Using an HTTP client directly (which is the preferred method for service invocation) is essentially HTTP specific and will address the problem described here.
Agreed