openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [openwhisk-runtime-dotnet] shawnallen85 commented on issue #26: Raw requests to skip JObject conversion
Date Thu, 28 Nov 2019 15:54:27 GMT
shawnallen85 commented on issue #26: Raw requests to skip JObject conversion
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/26#issuecomment-559542867
 
 
   I'll try to take a look at speeding up the JSON aspect of things. I have been thinking
about adding some sugar to the codebase that would allow an object to be defined (rather than
JObject) that we would take the incoming JSON and automatically deserialize it to the object
and same on the output -- serialize the object to JSON and return it to the calling method.
This would allow you to do something like async Task<MyResult> Handler(AddPerson person).
Do you think that would be beneficial?
   
   I'll have to look at the Stream side of things a bit more -- I don't think we would want
the full raw request stream going to the client. I don't think AWS' implementation for supporting
Stream provides the full raw request, but a Stream based on specific events (S3, etc.) and
specific to the objects in those requests.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message