Scripted attribute dependencies
Cantor, Scott
cantor.2 at osu.edu
Sat Feb 23 09:42:56 EST 2019
On 2/22/19, 7:48 PM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
> Also, is there a better way to handle my conditionals than checking for a type not of undefined and a list with a size
> greater than 0?
No, that's what I've always done. I think the "could be empty" case is more of the documented interface we intended. The shorter check you were using is more the "taking advantage of a particular implementation" approach that we wouldn't be officially supported.
Having some sort of function built-in to the scripting environment to shorten the error handling would be nice. I don't know if it's possible or not but I would think we could come up with something.
-- Scott
More information about the users
mailing list