Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Passing list as Action parameter at Server it is pass by reference at Mobile as value

$
0
0

Hi Sampsa,

First, this behaviour has nothing to do with the List containing a Structure, Lists of simple types should behave the same. Secondly, whether Lists are passed by reference or not depends on a lot of factors. On Web, a List is passed by reference if the Action called is in the same eSpace or in an Extension, and there is no conversion (implicitly or explicitly by mapping). Otherwise a copy is made. This is all very unclear, and imho OutSystems should change this behaviour, but it would be a breaking change, so they probably won't. Apparently on Mobile they made the right decision and always create a copy.


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>