GH-708 Initial refactoring and consolidation of s-c-function-web MVC part.

This commit is contained in:
Oleg Zhurakousky
2021-06-02 19:56:21 +02:00
parent eddfa97b85
commit 4cc88f1124
6 changed files with 139 additions and 24 deletions

View File

@@ -0,0 +1,6 @@
If a function returns Flux, we must represent output as JSON Array/Collection since we never know how many elements such flux will contain per each invocation.
For that same reason we can't use TEXT/PLAIN as CT
NON-WEB
When sendng collection of objects to function who's input is not collection, the inpt will be converted to flux and the result is alos going to be flux.
That is to ensure that the function is invoked with idividual. . .