You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we have a method that returns list of structs, depending on the element count we will get completely different results:
list with 2+ structs will give an expected array with 2+ objects;
empty list will give an empty string (okay, I get it, we have no way differentiate empty list from empty strings);
list with single struct will be stripped down to object instead of an array with single object (of course, we can work around this by wrapping result list with a single-field object, but that looks like an ugly hack).